From ed184780540db35200841510f08de63164c14aa8 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 17 Jan 2017 14:26:14 +0000 Subject: [PATCH] Give FileWritingMessageHandler more time to sort itself out See 3927dca3 --- .../integration/consumer/SampleIntegrationApplicationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-samples/spring-boot-sample-integration/src/test/java/sample/integration/consumer/SampleIntegrationApplicationTests.java b/spring-boot-samples/spring-boot-sample-integration/src/test/java/sample/integration/consumer/SampleIntegrationApplicationTests.java index 1133adeb69..6af1035db6 100644 --- a/spring-boot-samples/spring-boot-sample-integration/src/test/java/sample/integration/consumer/SampleIntegrationApplicationTests.java +++ b/spring-boot-samples/spring-boot-sample-integration/src/test/java/sample/integration/consumer/SampleIntegrationApplicationTests.java @@ -61,7 +61,7 @@ public class SampleIntegrationApplicationTests { if (FileSystemUtils.deleteRecursively(directory)) { return; } - Thread.sleep(100); + Thread.sleep(500); } throw new IllegalStateException("Failed to delete '" + directory + "'"); }