[infinispan-issues] [JBoss JIRA] (ISPN-2687) DistributedExecutorWithTopologyAwareNodesTest.testRunnableExecution fails randomly

Dan Berindei (JIRA) jira-events at lists.jboss.org
Fri Jan 18 03:15:23 EST 2013


    [ https://issues.jboss.org/browse/ISPN-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748838#comment-12748838 ] 

Dan Berindei commented on ISPN-2687:
------------------------------------

I'm getting the same error in DistributedExecutorWithCacheLoaderTest (which is to be expected, since all the tests sleep for only 100ms).
                
> DistributedExecutorWithTopologyAwareNodesTest.testRunnableExecution fails randomly
> ----------------------------------------------------------------------------------
>
>                 Key: ISPN-2687
>                 URL: https://issues.jboss.org/browse/ISPN-2687
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Distributed Execution and Map/Reduce, Test Suite
>    Affects Versions: 5.2.0.Beta6
>            Reporter: Dan Berindei
>            Assignee: Vladimir Blagojevic
>             Fix For: 6.0.0.Final
>
>
> The test assumes that a task is executed in under 100ms, which is not necessarily true when running the parallel test suite:
> {noformat}
> java.lang.AssertionError
> 	at org.infinispan.distexec.LocalDistributedExecutorTest.testRunnableExecution(LocalDistributedExecutorTest.java:139)
> {noformat}
> It should probably use {{AbstractInfinispanTest.eventually()}} instead of sleeping for a fixed amount of time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list