[infinispan-issues] [JBoss JIRA] (ISPN-4029) NotifyingFutureTest.testExceptionOtherThread1 random failures

Dan Berindei (JIRA) issues at jboss.org
Wed Feb 19 14:47:48 EST 2014


Dan Berindei created ISPN-4029:
----------------------------------

             Summary: NotifyingFutureTest.testExceptionOtherThread1 random failures
                 Key: ISPN-4029
                 URL: https://issues.jboss.org/browse/ISPN-4029
             Project: Infinispan
          Issue Type: Bug
          Components: Test Suite - Core
    Affects Versions: 6.0.1.Final
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 7.0.0.Final


{noformat}
16:58:33,402 ERROR (testng-NotifyingFutureTest:) [UnitTestTestNGListener] Test testExceptionOtherThread1(org.infinispan.commons.util.concurrent.NotifyingFutureTest) failed.
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:494)
	at org.testng.Assert.assertTrue(Assert.java:42)
	at org.testng.Assert.assertTrue(Assert.java:52)
	at org.infinispan.commons.util.concurrent.NotifyingFutureTest.testException(NotifyingFutureTest.java:150)
	at org.infinispan.commons.util.concurrent.NotifyingFutureTest.testExceptionOtherThread(NotifyingFutureTest.java:67)
	at org.infinispan.commons.util.concurrent.NotifyingFutureTest.testExceptionOtherThread1(NotifyingFutureTest.java:46)
{noformat}

The test submits a task to a ThreadPoolExecutor that notifies a NotifyingFutureImpl and assumes that when the NotifyingFutureImpl is done, the original Future is also done. That's clearly not happening some of the time.

--
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