(AMQ-6858) - test fix

This commit is contained in:
Christopher L. Shannon (cshannon) 2017-11-15 09:21:44 -05:00
parent 6013441a9a
commit 2e3a7f6114
1 changed files with 1 additions and 2 deletions

View File

@ -74,8 +74,6 @@ public class DurableFiveBrokerNetworkBridgeTest extends JmsMultipleBrokersTestSu
}
protected void testDurablePropagationBrokerRestart() throws Exception {
deletePersistentMessagesOnStartup = true;
// Setup broker networks
bridgeBrokers("Broker_A_A", "Broker_B_B");
bridgeBrokers("Broker_B_B", "Broker_C_C");
@ -665,6 +663,7 @@ public class DurableFiveBrokerNetworkBridgeTest extends JmsMultipleBrokersTestSu
public void setUp() throws Exception {
super.setAutoFail(true);
super.setUp();
deletePersistentMessagesOnStartup = true;
String options = new String("?persistent=true&useJmx=false");
createBroker(new URI("broker:(tcp://localhost:61616)/Broker_A_A" + options));
createBroker(new URI("broker:(tcp://localhost:61617)/Broker_B_B" + options));