activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1357666 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java
Date Thu, 05 Jul 2012 15:09:04 GMT
Author: tabish
Date: Thu Jul  5 15:09:03 2012
New Revision: 1357666

URL: http://svn.apache.org/viewvc?rev=1357666&view=rev
Log:
allow a bit more time for the message to propagate.  

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java?rev=1357666&r1=1357665&r2=1357666&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java
Thu Jul  5 15:09:03 2012
@@ -87,7 +87,7 @@ public class SimpleNetworkTest {
         for (int i = 0; i < MESSAGE_COUNT; i++) {
             Message test = localSession.createTextMessage("test-" + i);
             producer.send(test);
-            Message msg = consumer1.receive(1000);
+            Message msg = consumer1.receive(3000);
             assertNotNull(msg);
             ActiveMQMessage amqMessage = (ActiveMQMessage) msg;
             assertTrue(amqMessage.isCompressed());



Mime
View raw message