activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1425958 - /activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
Date Wed, 26 Dec 2012 15:47:01 GMT
Author: dejanb
Date: Wed Dec 26 15:47:01 2012
New Revision: 1425958

URL: http://svn.apache.org/viewvc?rev=1425958&view=rev
Log:
additional fix for VMTransportWaitForTest test failure

Modified:
    activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java

Modified: activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java?rev=1425958&r1=1425957&r2=1425958&view=diff
==============================================================================
--- activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
(original)
+++ activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
Wed Dec 26 15:47:01 2012
@@ -867,7 +867,7 @@ public class BrokerService implements Se
      * @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) {



Mime
View raw message