From d23383e79ccf0604e72d627cd6a03893b1bfcc77 Mon Sep 17 00:00:00 2001 From: Peter Zaoral Date: Mon, 22 Jan 2024 18:34:57 +0100 Subject: [PATCH] Stabilizing the FipsDistTest * increased the timeout to let Keycloak stop Closes #26374 Signed-off-by: Peter Zaoral --- .../java/org/keycloak/it/utils/RawKeycloakDistribution.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quarkus/tests/junit5/src/main/java/org/keycloak/it/utils/RawKeycloakDistribution.java b/quarkus/tests/junit5/src/main/java/org/keycloak/it/utils/RawKeycloakDistribution.java index 5c1611975d..f36fc46790 100644 --- a/quarkus/tests/junit5/src/main/java/org/keycloak/it/utils/RawKeycloakDistribution.java +++ b/quarkus/tests/junit5/src/main/java/org/keycloak/it/utils/RawKeycloakDistribution.java @@ -162,7 +162,8 @@ public final class RawKeycloakDistribution implements KeycloakDistribution { destroyDescendantsOnWindows(keycloak, false); keycloak.destroy(); - keycloak.waitFor(DEFAULT_SHUTDOWN_TIMEOUT_SECONDS, TimeUnit.SECONDS); + // TODO: reconsider the hardcoded timeout once https://issues.redhat.com/browse/JBTM-3830 is pulled into Keycloak + keycloak.waitFor(180, TimeUnit.SECONDS); exitCode = keycloak.exitValue(); } catch (Exception cause) { destroyDescendantsOnWindows(keycloak, true);