You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Erich Duda (JIRA)" <ji...@apache.org> on 2016/03/10 12:02:40 UTC
[jira] [Created] (ARTEMIS-428) [Artemis Testsuite]
ReconnectTest#testInterruptReconnectInVMInterruptMainThread fails
Erich Duda created ARTEMIS-428:
----------------------------------
Summary: [Artemis Testsuite] ReconnectTest#testInterruptReconnectInVMInterruptMainThread fails
Key: ARTEMIS-428
URL: https://issues.apache.org/jira/browse/ARTEMIS-428
Project: ActiveMQ Artemis
Issue Type: Bug
Affects Versions: 1.2.0
Reporter: Erich Duda
{code}
java.lang.AssertionError: expected:<1> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at org.apache.activemq.artemis.tests.integration.remoting.ReconnectTest.internalTestInterruptReconnect(ReconnectTest.java:305)
at org.apache.activemq.artemis.tests.integration.remoting.ReconnectTest.testInterruptReconnectInVMInterruptMainThread(ReconnectTest.java:225)
{code}
There is a synchronization issue. {{latchCommit.countDown()}} in {{beforeReconnect}} method is called before the thread is added to {{threadToBeInterrupted}} list.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)