From 7aa50546b3dc6c012bd7d4118d82055ffd1e1226 Mon Sep 17 00:00:00 2001 From: Bernd Gutjahr Date: Thu, 4 May 2017 11:15:05 +0200 Subject: [PATCH] ARTEMIS-1112: Fixed occasionally failing test There was a typo in this test that could cause it to fail. --- .../cluster/failover/SharedStoreDontWaitForActivationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/SharedStoreDontWaitForActivationTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/SharedStoreDontWaitForActivationTest.java index e7fcf05ed9..a4424e43f3 100755 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/SharedStoreDontWaitForActivationTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/SharedStoreDontWaitForActivationTest.java @@ -76,7 +76,7 @@ public class SharedStoreDontWaitForActivationTest extends ClusterTestBase { server0.start(); // server 0 is live - assertTrue(server1.waitForActivation(5, TimeUnit.SECONDS)); + assertTrue(server0.waitForActivation(5, TimeUnit.SECONDS)); server1.start(); // server 1 is backup assertFalse(server1.waitForActivation(1, TimeUnit.SECONDS));