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

ASF subversion and git services commented on ARTEMIS-428:
---------------------------------------------------------

Commit fa210de3236009dacbd523df339b1efd7df7d212 in activemq-artemis's branch 
refs/heads/master from [~eduda]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=fa210de ]

ARTEMIS-428 - [Artemis Testsuite] 
ReconnectTest#testInterruptReconnectInVMInterruptMainThread fails


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