activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erich Duda (JIRA)" <>
Subject [jira] [Created] (ARTEMIS-428) [Artemis Testsuite] ReconnectTest#testInterruptReconnectInVMInterruptMainThread fails
Date Thu, 10 Mar 2016 11:02:40 GMT
Erich Duda created ARTEMIS-428:

             Summary: [Artemis Testsuite] ReconnectTest#testInterruptReconnectInVMInterruptMainThread
                 Key: ARTEMIS-428
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 1.2.0
            Reporter: Erich Duda

java.lang.AssertionError: expected:<1> but was:<0>
	at org.junit.Assert.failNotEquals(
	at org.junit.Assert.assertEquals(
	at org.junit.Assert.assertEquals(
	at org.junit.Assert.assertEquals(
	at org.apache.activemq.artemis.tests.integration.remoting.ReconnectTest.internalTestInterruptReconnect(
	at org.apache.activemq.artemis.tests.integration.remoting.ReconnectTest.testInterruptReconnectInVMInterruptMainThread(

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

View raw message