Author: borges
Date: 2011-11-28 05:32:15 -0500 (Mon, 28 Nov 2011)
New Revision: 11771
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/FailoverTest.java
Log:
Adjust test for it to make sense in the remote replication case.
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 2011-11-25
15:01:47 UTC (rev 11770)
+++
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/FailoverTest.java 2011-11-28
10:32:15 UTC (rev 11771)
@@ -1745,6 +1745,12 @@
// To reload security or other settings that are read during startup
beforeRestart(backupServer);
+ if (!backupServer.getServer().getConfiguration().isSharedStore())
+ {
+ // this test would not make sense in the remote replication use case, without
the following
+ backupServer.getServer().getConfiguration().setBackup(false);
+ }
+
backupServer.start();
assertTrue("session failure listener", listener.getLatch().await(5,
TimeUnit.SECONDS));