mirror of https://github.com/apache/activemq.git
AMQ-7165 - randomize needs to be disabled to make test deterministic
This commit is contained in:
parent
ccf56875b0
commit
39047021e7
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue