From 70346b00f827326cdb9c3ea8d31c13fcf3babb25 Mon Sep 17 00:00:00 2001 From: "tobias.pobocik" Date: Mon, 20 May 2024 14:07:47 +0200 Subject: [PATCH] Increase sleep after shutdown timeout This timeout caused tests to be unreliable an inconsistent. JIRA: LIGHTY-299 Signed-off-by: tobias.pobocik --- .../java/io/lighty/core/controller/api/LightyModuleTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighty-core/lighty-controller/src/test/java/io/lighty/core/controller/api/LightyModuleTest.java b/lighty-core/lighty-controller/src/test/java/io/lighty/core/controller/api/LightyModuleTest.java index 3bf5706ab4..dd9c7e85ee 100644 --- a/lighty-core/lighty-controller/src/test/java/io/lighty/core/controller/api/LightyModuleTest.java +++ b/lighty-core/lighty-controller/src/test/java/io/lighty/core/controller/api/LightyModuleTest.java @@ -26,7 +26,7 @@ public class LightyModuleTest { private static long MAX_INIT_TIMEOUT = 15000L; private static long MAX_SHUTDOWN_TIMEOUT = 15000L; - private static long SLEEP_AFTER_SHUTDOWN_TIMEOUT = 200L; + private static long SLEEP_AFTER_SHUTDOWN_TIMEOUT = 800L; private ExecutorService executorService; private LightyModule moduleUnderTest;