You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2009/09/18 14:21:55 UTC

svn commit: r816599 - /camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceTransactedWithFileTest.java

Author: davsclaus
Date: Fri Sep 18 12:21:55 2009
New Revision: 816599

URL: http://svn.apache.org/viewvc?rev=816599&view=rev
Log:
Fixing uni test

Modified:
    camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceTransactedWithFileTest.java

Modified: camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceTransactedWithFileTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceTransactedWithFileTest.java?rev=816599&r1=816598&r2=816599&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceTransactedWithFileTest.java (original)
+++ camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceTransactedWithFileTest.java Fri Sep 18 12:21:55 2009
@@ -35,7 +35,7 @@
         template.sendBodyAndHeader("file://target/transacted/okay", "Hello World", Exchange.FILE_NAME, "okay.txt");
 
         // wait for route to complete
-        Thread.sleep(2000);
+        Thread.sleep(3000);
 
         int count = jdbc.queryForInt("select count(*) from books");
         assertEquals("Number of books", 3, count);
@@ -45,7 +45,7 @@
         template.sendBodyAndHeader("file://target/transacted/fail", "Hello World", Exchange.FILE_NAME, "fail.txt");
 
         // wait for route to complete
-        Thread.sleep(2000);
+        Thread.sleep(3000);
 
         // should not be able to process the file so we still got 1 book as we did from the start
         int count = jdbc.queryForInt("select count(*) from books");