From 062a675a5358013c5a5517d130a2b19684c85ba7 Mon Sep 17 00:00:00 2001 From: Erich Duda Date: Fri, 29 Jan 2016 13:41:33 +0100 Subject: [PATCH] ARTEMIS-369 - [Artemis Testsuite] BridgeFailoverTest#testFailoverOnBridgeNoRetryOnSameNode fails --- .../tests/integration/cluster/bridge/BridgeFailoverTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/bridge/BridgeFailoverTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/bridge/BridgeFailoverTest.java index 1e2d02ef62..d46a61e143 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/bridge/BridgeFailoverTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/bridge/BridgeFailoverTest.java @@ -18,6 +18,7 @@ package org.apache.activemq.artemis.tests.integration.cluster.bridge; import java.util.ArrayList; import java.util.List; +import java.util.concurrent.TimeUnit; import org.apache.activemq.artemis.api.core.client.ClientConsumer; import org.apache.activemq.artemis.api.core.client.ClientMessage; @@ -177,7 +178,7 @@ public class BridgeFailoverTest extends MultiServerTestBase { locatorConsumer.close(); - waitForServerToStart(backupServers[4]); + assertTrue("Backup server didn't activate.", backupServers[4].waitForActivation(5, TimeUnit.SECONDS)); for (int i = 100; i < 200; i++) { ClientMessage msg = session.createMessage(true);