activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1447790 - /activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompParallelTest.scala
Date Tue, 19 Feb 2013 16:18:30 GMT
Author: chirino
Date: Tue Feb 19 16:18:30 2013
New Revision: 1447790

URL: http://svn.apache.org/r1447790
Log:
Add a little sleep to make a test case more robust.

Modified:
    activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompParallelTest.scala

Modified: activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompParallelTest.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompParallelTest.scala?rev=1447790&r1=1447789&r2=1447790&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompParallelTest.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompParallelTest.scala
Tue Feb 19 16:18:30 2013
@@ -540,6 +540,10 @@ class StompParallelTest extends StompTes
     subscribe("1", "/queue/load-balanced")
     subscribe("2", "/queue/load-balanced")
 
+    // Lets sleep a little to make sure the subscriptions are full
+    // established before we start sending messages to them.
+    Thread.sleep(500)
+
     for (i <- 0 until 4) {
       async_send("/queue/load-balanced", "message:" + i)
     }



Mime
View raw message