From 42b010ce0ac13f7bd32946999e9a331aaf33c21d Mon Sep 17 00:00:00 2001 From: Steven Hawkins Date: Tue, 16 Jan 2024 05:06:08 -0500 Subject: [PATCH] addendum to #23786 - readiness check should end after the first dump (#26215) Signed-off-by: Steve Hawkins --- .../java/org/keycloak/it/utils/RawKeycloakDistribution.java | 2 +- 1 file changed, 1 insertion(+), 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 e56f0d164e..5c1611975d 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 @@ -49,7 +49,6 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.locks.LockSupport; import java.util.function.Consumer; -import java.util.stream.Collectors; import javax.net.ssl.HostnameVerifier; import javax.net.ssl.HttpsURLConnection; import javax.net.ssl.SSLContext; @@ -296,6 +295,7 @@ public final class RawKeycloakDistribution implements KeycloakDistribution { threadDump(); LOG.warn("Timeout [" + getStartTimeout() + "] while waiting for Quarkus server", ex); LOG.warn("TODO: this should be a hard error / re-diagnosed after https://issues.redhat.com/browse/JBTM-3830 is pulled into Keycloak"); + return; } if (!keycloak.isAlive()) {