Author: borges
Date: 2012-01-03 06:54:13 -0500 (Tue, 03 Jan 2012)
New Revision: 11950
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/FailoverTest.java
Log:
Wait for backup to start (fixes test).
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/FailoverTest.java
===================================================================
---
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/FailoverTest.java 2012-01-03
11:53:58 UTC (rev 11949)
+++
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/FailoverTest.java 2012-01-03
11:54:13 UTC (rev 11950)
@@ -1475,7 +1475,10 @@
{
// HORNETQ-720 Disabling test for replicating backups.
if (!backupServer.getServer().getConfiguration().isSharedStore())
+ {
+ waitForComponent(backupServer, 1);
return;
+ }
locator.setFailoverOnInitialConnection(true);
createSessionFactory();
Show replies by date