Author: borges
Date: 2011-07-05 10:57:35 -0400 (Tue, 05 Jul 2011)
New Revision: 10921
Modified:
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/FailoverTestBase.java
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedFailoverTest.java
Log:
HORNETQ-720 Move nodeManager set-up to createReplicatedConfigs()
Modified:
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/FailoverTestBase.java
===================================================================
---
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/FailoverTestBase.java 2011-07-05
14:56:51 UTC (rev 10920)
+++
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/FailoverTestBase.java 2011-07-05
14:57:35 UTC (rev 10921)
@@ -162,6 +162,8 @@
protected void createReplicatedConfigs() throws Exception
{
+ nodeManager = new InVMNodeManager();
+
Configuration config1 = super.createDefaultConfig();
config1.setBindingsDirectory(config1.getBindingsDirectory() +
"_backup");
config1.setJournalDirectory(config1.getJournalDirectory() + "_backup");
Modified:
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedFailoverTest.java
===================================================================
---
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedFailoverTest.java 2011-07-05
14:56:51 UTC (rev 10920)
+++
branches/HORNETQ-720_Replication/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedFailoverTest.java 2011-07-05
14:57:35 UTC (rev 10921)
@@ -13,7 +13,6 @@
package org.hornetq.tests.integration.cluster.failover;
-import org.hornetq.core.server.impl.InVMNodeManager;
/**
* A ReplicatedFailoverTest
@@ -40,20 +39,8 @@
// Protected -----------------------------------------------------
@Override
- protected void setUp() throws Exception
- {
- nodeManager = new InVMNodeManager();
- super.setUp();
- }
-
- @Override
protected void createConfigs() throws Exception
{
createReplicatedConfigs();
}
-
- // Private -------------------------------------------------------
-
- // Inner classes -------------------------------------------------
-
}