AMQ-7165 - randomize needs to be disabled to make test deterministic

This commit is contained in:
gtully 2019-04-05 13:39:41 +01:00
parent ccf56875b0
commit 39047021e7
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ public class PartitionBrokerTest {
} }
protected Connection createConnectionTo(String brokerId) throws IOException, URISyntaxException, JMSException { 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 { private Connection createConnectionToUrl(String url) throws JMSException {