mirror of https://github.com/apache/activemq.git
AMQ2102Test improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@933190 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
10e57c9e05
commit
fc52e42636
|
@ -464,7 +464,7 @@ public class AMQ2102Test extends CombinationTestSupport implements UncaughtExcep
|
|||
}
|
||||
};
|
||||
t.start();
|
||||
Thread.sleep(2000);
|
||||
master.waitUntilStarted();
|
||||
masterUrl = master.getTransportConnectors().get(0).getConnectUri().toString();
|
||||
|
||||
debug("masterUrl: " + masterUrl);
|
||||
|
@ -474,6 +474,7 @@ public class AMQ2102Test extends CombinationTestSupport implements UncaughtExcep
|
|||
slave.addConnector("tcp://localhost:0");
|
||||
slave.setMasterConnectorURI(masterUrl);
|
||||
slave.start();
|
||||
slave.waitUntilStarted();
|
||||
}
|
||||
|
||||
public void tearDown() throws Exception {
|
||||
|
|
Loading…
Reference in New Issue