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

DistributedStreamIteratorTest.testNodeLeavesWhileIteratingOverContainerCausingRehashToLoseValues fails randomly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.1.0.Alpha1, 9.1.0.Final
    • 9.0.0.Final
    • Core
    • None

    Description

      testNodeLeavesWhileIteratingOverContainerCausingRehashToLoseValues waits for rehash to complete. If this is slow for some reason it can cause the rest of the test to time out. There is no reason for the test itself to wait for the rehash as the stream operation should handle this automatically anyways.

      java.lang.IllegalStateException: Thread already timed out waiting for event pre_iterator_released
        at org.infinispan.test.fwk.CheckPoint.trigger(CheckPoint.java:131)
        at org.infinispan.test.fwk.CheckPoint.triggerForever(CheckPoint.java:120)
        at org.infinispan.stream.DistributedStreamIteratorTest.testNodeLeavesWhileIteratingOverContainerCausingRehashToLoseValues(DistributedStreamIteratorTest.java:249)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            wburns@redhat.com Will Burns
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: