Skip to content

Commit

Permalink
Stabilizing the FipsDistTest
Browse files Browse the repository at this point in the history
* increased the timeout to let Keycloak stop

Closes keycloak#26374

Signed-off-by: Peter Zaoral <[email protected]>
  • Loading branch information
Pepo48 authored and ahus1 committed Jan 24, 2024
1 parent 7a57bfb commit d23383e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ public void stop() {
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);
Expand Down

0 comments on commit d23383e

Please sign in to comment.