camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r880667 - /camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java
Date Mon, 16 Nov 2009 08:34:29 GMT
Author: davsclaus
Date: Mon Nov 16 08:34:27 2009
New Revision: 880667

URL: http://svn.apache.org/viewvc?rev=880667&view=rev
Log:
Give some time on slow boxes.

Modified:
    camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java

Modified: camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java?rev=880667&r1=880666&r2=880667&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java
(original)
+++ camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileTest.java
Mon Nov 16 08:34:27 2009
@@ -48,6 +48,9 @@
         String out = template.requestBody("direct:start", "Hello World", String.class);
         assertEquals("Bye World", out);
 
+        // give time for files to be deleted etc.
+        Thread.sleep(2000);
+
         // the temporary files should have been deleted
         File file = new File("./target/cachedir");
         String[] files = file.list();
@@ -65,6 +68,9 @@
             assertEquals("Response body", body, s);
         }
 
+        // give time for files to be deleted etc.
+        Thread.sleep(2000);
+
         // the temporary files should have been deleted
         File file = new File("./target/cachedir");
         String[] files = file.list();



Mime
View raw message