Dan Berindei created ISPN-3245:
----------------------------------
Summary: ReplSyncDistributedExecutorTest.testTaskCancellation fails
intermittently
Key: ISPN-3245
URL:
https://issues.jboss.org/browse/ISPN-3245
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Affects Versions: 5.3.0.CR2
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 5.3.0.Final
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:
{noformat}
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)
{noformat}
--
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