-
Bug
-
Resolution: Done
-
Major
-
5.3.0.Final
-
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)