Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2687

DistributedExecutorWithTopologyAwareNodesTest.testRunnableExecution fails randomly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 5.2.0.Beta6
    • None

    Description

      The test assumes that a task is executed in under 100ms, which is not necessarily true when running the parallel test suite:

      java.lang.AssertionError
      	at org.infinispan.distexec.LocalDistributedExecutorTest.testRunnableExecution(LocalDistributedExecutorTest.java:139)
      

      It should probably use AbstractInfinispanTest.eventually() instead of sleeping for a fixed amount of time.

      Attachments

        Activity

          People

            mircea.markus Mircea Markus (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: