camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r993227 - /camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisShutdownAllTasksTest.java
Date Tue, 07 Sep 2010 06:37:10 GMT
Author: davsclaus
Date: Tue Sep  7 06:37:10 2010
New Revision: 993227

URL: http://svn.apache.org/viewvc?rev=993227&view=rev
Log:
Fixed test on other boxes

Modified:
    camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisShutdownAllTasksTest.java

Modified: camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisShutdownAllTasksTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisShutdownAllTasksTest.java?rev=993227&r1=993226&r2=993227&view=diff
==============================================================================
--- camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisShutdownAllTasksTest.java
(original)
+++ camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisShutdownAllTasksTest.java
Tue Sep  7 06:37:10 2010
@@ -96,6 +96,9 @@ public class IBatisShutdownAllTasksTest 
         // shutdown during processing
         context.stop();
 
+        // sleep a little
+        Thread.sleep(1000);
+
         // should route all 8
         assertEquals("Should complete all messages", 8, bar.getReceivedCounter());
     }



Mime
View raw message