incubator-esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From esjew...@apache.org
Subject svn commit: r922705 - /incubator/esme/trunk/server/src/test/scala/org/apache/esme/api/API2Test.scala
Date Sun, 14 Mar 2010 00:58:00 GMT
Author: esjewett
Date: Sun Mar 14 00:58:00 2010
New Revision: 922705

URL: http://svn.apache.org/viewvc?rev=922705&view=rev
Log:
Put a wait in the pool history test to try to give Compass enough time to catch up

Modified:
    incubator/esme/trunk/server/src/test/scala/org/apache/esme/api/API2Test.scala

Modified: incubator/esme/trunk/server/src/test/scala/org/apache/esme/api/API2Test.scala
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/test/scala/org/apache/esme/api/API2Test.scala?rev=922705&r1=922704&r2=922705&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/test/scala/org/apache/esme/api/API2Test.scala (original)
+++ incubator/esme/trunk/server/src/test/scala/org/apache/esme/api/API2Test.scala Sun Mar
14 00:58:00 2010
@@ -702,7 +702,8 @@ object Api2Specs extends Specification w
           pool_res <- sess.post("pools", "poolName" -> "test_pool5") 
 		  mess_res <- sess.post("user/messages",
             "message" -> "test message for pool history",
-            "pool" -> "test_pool5")
+            "pool" -> "test_pool5")                
+          timeout <- sleep(2000)
           res <- sess.get("pools/5/messages?history=10")
         } {                                
           res.code must be equalTo 200          



Mime
View raw message