activemq-commits mailing list archives

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

URL: http://svn.apache.org/r1447856
Log:
Making the tests 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=1447856&r1=1447855&r2=1447856&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 18:04:16 2013
@@ -603,6 +603,9 @@ class StompParallelTest extends StompTes
     subscribe("1", dest)
     subscribe("2", dest)
 
+    // Give the subs time to setup..
+    Thread.sleep(500L)
+
     var actual_mapping = mutable.HashMap[String, mutable.HashSet[Char]]()
 
     def send_receive = {
@@ -636,6 +639,8 @@ class StompParallelTest extends StompTes
 
     // Add another subscriber, the groups should re-balance
     subscribe("3", dest)
+    // Give the sub time to setup..
+    Thread.sleep(500L)
 
     actual_mapping = mutable.HashMap[String, mutable.HashSet[Char]]()
     send_receive



Mime
View raw message