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

ReplSyncDistributedExecutorTest.testTaskCancellation fails intermittently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.3.0.Final
    • 5.3.0.Final
    • Test Suite
    • None

      The test cancels a task and checks that the remote thread has been interrupted. But the check can happen before the task execution thread actually wakes up, in which case the test fails:

      21:09:36,236 ERROR (testng-ReplSyncDistributedExecutorTest:) [UnitTestTestNGListener] Test testTaskCancellation(org.infinispan.distexec.ReplSyncDistributedExecutorTest) failed.
      java.lang.AssertionError
          at org.infinispan.distexec.ReplSyncDistributedExecutorTest.testTaskCancellation(ReplSyncDistributedExecutorTest.java:89)
      

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: