[ 
https://issues.apache.org/jira/browse/ARTEMIS-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15189303#comment-15189303
 ] 

ASF GitHub Bot commented on ARTEMIS-428:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/activemq-artemis/pull/416


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

Reply via email to