You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2009/10/23 20:41:51 UTC
svn commit: r829169 -
/camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisQueueTest.java
Author: janstey
Date: Fri Oct 23 18:41:49 2009
New Revision: 829169
URL: http://svn.apache.org/viewvc?rev=829169&view=rev
Log:
fix test issue that only occured on windows
Modified:
camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisQueueTest.java
Modified: camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisQueueTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisQueueTest.java?rev=829169&r1=829168&r2=829169&view=diff
==============================================================================
--- camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisQueueTest.java (original)
+++ camel/trunk/components/camel-ibatis/src/test/java/org/apache/camel/component/ibatis/IBatisQueueTest.java Fri Oct 23 18:41:49 2009
@@ -52,6 +52,9 @@
template.sendBody("direct:start", account);
assertMockEndpointsSatisfied();
+
+ // need a delay here on slower machines
+ Thread.sleep(1000);
// now lets poll that the account has been inserted
List body = template.requestBody("ibatis:selectProcessedAccounts?statementType=QueryForList", null, List.class);