activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r943085 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2645Test.java
Date Tue, 11 May 2010 11:19:49 GMT
Author: gtully
Date: Tue May 11 11:19:48 2010
New Revision: 943085

URL: http://svn.apache.org/viewvc?rev=943085&view=rev
Log:
fix assertion, thanks Darek

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2645Test.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2645Test.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2645Test.java?rev=943085&r1=943084&r2=943085&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2645Test.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2645Test.java Tue
May 11 11:19:48 2010
@@ -93,7 +93,7 @@ public class AMQ2645Test extends Embedde
             assertTrue("Consumer is deadlocked!", twoNewMessages.await(60, TimeUnit.SECONDS));
 
             producer.send(session.createTextMessage("test 3"));
-            assertTrue("Consumer got third message after block", twoNewMessages.await(60,
TimeUnit.SECONDS));
+            assertTrue("Consumer got third message after block", thirdMessageReceived.await(60,
TimeUnit.SECONDS));
 
         } finally {
             broker.stop();



Mime
View raw message