Repository: activemq-artemis
Updated Branches:
  refs/heads/master 6435e49e6 -> 4fb51eff1


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


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/fa210de3
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/fa210de3
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/fa210de3

Branch: refs/heads/master
Commit: fa210de3236009dacbd523df339b1efd7df7d212
Parents: 6435e49
Author: Erich Duda <[email protected]>
Authored: Thu Mar 10 12:04:50 2016 +0100
Committer: Erich Duda <[email protected]>
Committed: Thu Mar 10 12:04:50 2016 +0100

----------------------------------------------------------------------
 .../activemq/artemis/tests/integration/remoting/ReconnectTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/fa210de3/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/remoting/ReconnectTest.java
----------------------------------------------------------------------
diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/remoting/ReconnectTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/remoting/ReconnectTest.java
index c344591..8be703a 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/remoting/ReconnectTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/remoting/ReconnectTest.java
@@ -256,9 +256,9 @@ public class ReconnectTest extends ActiveMQTestBase {
 
             @Override
             public void beforeReconnect(ActiveMQException exception) {
-               latchCommit.countDown();
                threadToBeInterrupted.add(Thread.currentThread());
                System.out.println("Thread " + Thread.currentThread() + " 
reconnecting now");
+               latchCommit.countDown();
             }
          });
 

Reply via email to