You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2013/02/19 19:04:17 UTC

svn commit: r1447856 - /activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompParallelTest.scala

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