[infinispan-issues] [JBoss JIRA] (ISPN-3245) ReplSyncDistributedExecutorTest.testTaskCancellation fails intermittently

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Fri Jun 21 13:01:21 EDT 2013


     [ https://issues.jboss.org/browse/ISPN-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño resolved ISPN-3245.
------------------------------------

    Resolution: Done

    
> 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



More information about the infinispan-issues mailing list