From 85af2e4ed6e78181c4fb84682100a655c1e96d9e Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Wed, 17 Jul 2019 11:05:05 +0200 Subject: [PATCH] Increased sleep time in randomly failing test --- .../cloud/function/test/FunctionalExporterTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud-function-web/src/test/java/org/springframework/cloud/function/test/FunctionalExporterTests.java b/spring-cloud-function-web/src/test/java/org/springframework/cloud/function/test/FunctionalExporterTests.java index b2fca9198..6b63d1e12 100644 --- a/spring-cloud-function-web/src/test/java/org/springframework/cloud/function/test/FunctionalExporterTests.java +++ b/spring-cloud-function-web/src/test/java/org/springframework/cloud/function/test/FunctionalExporterTests.java @@ -86,7 +86,7 @@ public class FunctionalExporterTests { public void words() throws Exception { int count = 0; while (this.forwarder.isRunning() && count++ < 10) { - Thread.sleep(20); + Thread.sleep(50); } // It completed assertThat(FunctionalExporterTests.app.inputs).contains("HELLO");