[
https://issues.jboss.org/browse/ISPN-4029?page=com.atlassian.jira.plugin....
]
Vitalii Chepeliuk updated ISPN-4029:
------------------------------------
Description:
{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.
* Jenkins
** RHEL, Oracle JDK7
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FUNC/job/e...
** RHEL, OpenJDK7
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FUNC/job/e...
was:
{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.
NotifyingFutureTest.testExceptionOtherThread1 &&
testDoneOtherThread2 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
Labels: testsuite_stability
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.
* Jenkins
** RHEL, Oracle JDK7
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FUNC/job/e...
** RHEL, OpenJDK7
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FUNC/job/e...
--
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