Repository: camel Updated Branches: refs/heads/camel-2.16.x 37ce3d913 -> c698ca406 refs/heads/master 352682148 -> c4cf7c30e
Fixed test Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c4cf7c30 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c4cf7c30 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c4cf7c30 Branch: refs/heads/master Commit: c4cf7c30e64b1a3c9169d9e6ce10aa9bc8b8c1a5 Parents: 3526821 Author: Claus Ibsen <davscl...@apache.org> Authored: Fri Nov 20 08:21:43 2015 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Nov 20 08:21:43 2015 +0100 ---------------------------------------------------------------------- .../camel/component/jetty/HttpStreamCacheFileResponseTest.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/c4cf7c30/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileResponseTest.java ---------------------------------------------------------------------- diff --git a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileResponseTest.java b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileResponseTest.java index f9432f3..3a5fc63 100644 --- a/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileResponseTest.java +++ b/components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/HttpStreamCacheFileResponseTest.java @@ -45,6 +45,8 @@ public class HttpStreamCacheFileResponseTest extends BaseJettyTest { String out = template.requestBody("http://localhost:{{port}}/myserver", body, String.class); assertEquals(body2, out); + // give time for file to be deleted + Thread.sleep(500); // the temporary files should have been deleted File file = new File("target/cachedir"); String[] files = file.list();