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

Dan Berindei (JIRA) jira-events at lists.jboss.org
Fri Jan 4 07:24:08 EST 2013


Dan Berindei created ISPN-2687:
----------------------------------

             Summary: 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