From 5e03927da727e13c711d38e75516a58fd75dec2d Mon Sep 17 00:00:00 2001 From: "Timothy A. Bish" Date: Thu, 1 Nov 2012 23:34:21 +0000 Subject: [PATCH] fix up test case git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404830 13f79535-47bb-0310-9956-ffa450edef68 --- .../usecases/DurableSubscriptionRemoveOfflineTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionRemoveOfflineTest.java b/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionRemoveOfflineTest.java index 4774c69f85..1e2c08c0f6 100644 --- a/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionRemoveOfflineTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/usecases/DurableSubscriptionRemoveOfflineTest.java @@ -75,12 +75,12 @@ public class DurableSubscriptionRemoveOfflineTest extends EmbeddedBrokerTestSupp 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 {