diff --git a/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompTestSupport.java b/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompTestSupport.java index a8d4884cbe..bdc599a55e 100644 --- a/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompTestSupport.java +++ b/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/StompTestSupport.java @@ -111,7 +111,7 @@ public class StompTestSupport { } public void startBroker() throws Exception { - createBroker(); + createBroker(true); XStreamBrokerContext context = new XStreamBrokerContext(); brokerService.setBrokerContext(context); diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverTimeoutTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverTimeoutTest.java index 35a970f599..96a0e8e6e4 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverTimeoutTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverTimeoutTest.java @@ -67,7 +67,7 @@ public class FailoverTimeoutTest { bs.stop(); } } - + protected String getTransportUri() { return "tcp://localhost:0"; }