activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1404830 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionRemoveOfflineTest.java
Date Thu, 01 Nov 2012 23:34:21 GMT
Author: tabish
Date: Thu Nov  1 23:34:21 2012
New Revision: 1404830

URL: http://svn.apache.org/viewvc?rev=1404830&view=rev
Log:
fix up test case

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionRemoveOfflineTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionRemoveOfflineTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionRemoveOfflineTest.java?rev=1404830&r1=1404829&r2=1404830&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionRemoveOfflineTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionRemoveOfflineTest.java
Thu Nov  1 23:34:21 2012
@@ -75,12 +75,12 @@ public class DurableSubscriptionRemoveOf
         subscriber.close();
         connection.close();
 
-        Wait.waitFor(new Wait.Condition() {
+        assertTrue(Wait.waitFor(new Wait.Condition() {
             @Override
             public boolean isSatisified() throws Exception {
                  return broker.getAdminView().getInactiveDurableTopicSubscribers().length
== 0;
             }
-        }, 15000);
+        }, 15000));
     }
 
     public void testRemoveAfterRestart() throws Exception {



Mime
View raw message