[ 
https://issues.apache.org/jira/browse/GROOVY-12572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18135446#comment-18135446
 ] 

ASF GitHub Bot commented on GROOVY-12572:
-----------------------------------------

paulk-asert merged PR #3100:
URL: https://github.com/apache/groovy/pull/3100




> Concurrency tests fail on a loaded machine because they sleep instead of 
> waiting for a state
> --------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-12572
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12572
>             Project: Groovy
>          Issue Type: Test
>            Reporter: Scott Murphy Heiberg
>            Priority: Major
>
> Several tests sleep for a fixed time and assume another thread has reached 
> some state, or need a thread to keep to a tight schedule; on a loaded machine 
> they fail. For example, 
> {{BroadcastChannelAsPublisherTest.forAwaitOverPublisher}} fails with 
> "BroadcastChannel is closed" when the consumer subscribes after the producer 
> has sent and closed. Affected: {{BroadcastChannelAsPublisherTest}}, 
> {{AgentChangesTest}}, {{BroadcastChannelTest}}, {{ActorTest}}, 
> {{ChannelSelectTest}}, {{AsyncAwaitSpecTest.testFastestServer}} and 
> {{groovy-http-builder}}'s {{MultiExchangeTickerEndToEndTest}}. Each can be 
> made to fail by delaying the other thread.
> PR: https://github.com/apache/groovy/pull/3100



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to