Author: borges
Date: 2011-11-25 10:00:50 -0500 (Fri, 25 Nov 2011)
New Revision: 11766
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/BackupAuthenticationTest.java
Log:
Wait for backup to start() and finish sync'ing.
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/BackupAuthenticationTest.java
===================================================================
---
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/BackupAuthenticationTest.java 2011-11-25
15:00:31 UTC (rev 11765)
+++
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/BackupAuthenticationTest.java 2011-11-25
15:00:50 UTC (rev 11766)
@@ -39,7 +39,7 @@
assertFalse("backup should have stopped", backupServer.isStarted());
backupConfig.setClusterPassword(CLUSTER_PASSWORD);
backupServer.start();
- waitForServer(backupServer.getServer());
+ waitForRemoteBackup(null, 5, true, backupServer.getServer());
}
@Override
Show replies by date