mirror of https://github.com/apache/activemq.git
additional fix for VMTransportWaitForTest test failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1425958 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
428a0631d3
commit
d0fb549f2c
|
@ -867,7 +867,7 @@ public class BrokerService implements Service {
|
|||
* @return boolean true if wait succeeded false if broker was not started or was stopped
|
||||
*/
|
||||
public boolean waitUntilStarted() {
|
||||
boolean waitSucceeded = false;
|
||||
boolean waitSucceeded = isStarted();
|
||||
while (!isStarted() && !stopped.get() && !waitSucceeded) {
|
||||
try {
|
||||
if (startException != null) {
|
||||
|
|
Loading…
Reference in New Issue