activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1485262 - /activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/ExpiredMessagesWithNoConsumerTest.java
Date Wed, 22 May 2013 15:54:13 GMT
Author: tabish
Date: Wed May 22 15:54:13 2013
New Revision: 1485262

URL: http://svn.apache.org/r1485262
Log:
fix broken test after: https://issues.apache.org/jira/browse/AMQ-4516

Modified:
    activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/ExpiredMessagesWithNoConsumerTest.java

Modified: activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/ExpiredMessagesWithNoConsumerTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/ExpiredMessagesWithNoConsumerTest.java?rev=1485262&r1=1485261&r2=1485262&view=diff
==============================================================================
--- activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/ExpiredMessagesWithNoConsumerTest.java
(original)
+++ activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/ExpiredMessagesWithNoConsumerTest.java
Wed May 22 15:54:13 2013
@@ -540,7 +540,7 @@ public class ExpiredMessagesWithNoConsum
 
         LOG.info("expired=" + view.getExpiredCount() + " " +  view.getEnqueueCount());
         assertEquals(10, view.getExpiredCount());
-        assertEquals(0, view.getEnqueueCount());
+        assertEquals(10, view.getEnqueueCount());
 
         final AtomicLong received = new AtomicLong();
         sub = session.createDurableSubscriber(destination, "mySub");



Mime
View raw message