activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-428) [Artemis Testsuite] ReconnectTest#testInterruptReconnectInVMInterruptMainThread fails
Date Thu, 10 Mar 2016 11:06:40 GMT

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

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

GitHub user dudaerich opened a pull request:

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

    ARTEMIS-428 - [Artemis Testsuite] ReconnectTest#testInterruptReconnec…

    …tInVMInterruptMainThread fails

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dudaerich/activemq-artemis ARTEMIS-428

Alternatively you can review and apply these changes as the patch at:

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #416
    
----
commit fa210de3236009dacbd523df339b1efd7df7d212
Author: Erich Duda <eduda@redhat.com>
Date:   2016-03-10T11:04:50Z

    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)

Mime
View raw message