diff --git a/activemq-partition/src/test/java/org/apache/activemq/partition/PartitionBrokerTest.java b/activemq-partition/src/test/java/org/apache/activemq/partition/PartitionBrokerTest.java index b75c439651..cc406d8cb1 100644 --- a/activemq-partition/src/test/java/org/apache/activemq/partition/PartitionBrokerTest.java +++ b/activemq-partition/src/test/java/org/apache/activemq/partition/PartitionBrokerTest.java @@ -181,7 +181,7 @@ public class PartitionBrokerTest { } protected Connection createConnectionTo(String brokerId) throws IOException, URISyntaxException, JMSException { - return createConnectionToUrl("failover://(" + getConnectURL(brokerId) + ")"); + return createConnectionToUrl("failover://(" + getConnectURL(brokerId) + ")?randomize=false"); } private Connection createConnectionToUrl(String url) throws JMSException {