Skip to content

Commit

Permalink
change wait strategy to use log output (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
dasniko committed Apr 24, 2024
1 parent 3bf421a commit 44339a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ protected void configure() {
}

setWaitStrategy(Wait
.forHttp(contextPath)
.forPort(KEYCLOAK_PORT_HTTP)
.forLogMessage(".*Running the server in development mode\\. DO NOT use this configuration in production.*\\n", 1)
.withStartupTimeout(startupTimeout)
);

Expand Down Expand Up @@ -205,6 +204,7 @@ protected void configure() {
withEnv("KC_SPI_THEME_STATIC_MAX_AGE", String.valueOf(2592000));
}

commandParts.add("--health-enabled=true");
commandParts.add("--metrics-enabled=" + metricsEnabled);

if (debugEnabled) {
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/junit-platform.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
junit.jupiter.execution.parallel.enabled = false
junit.jupiter.execution.parallel.config.fixed.parallelism = 5
junit.jupiter.execution.parallel.enabled = true
#junit.jupiter.execution.parallel.config.fixed.parallelism = 5
junit.jupiter.execution.parallel.mode.default = concurrent
junit.jupiter.execution.parallel.mode.classes.default = same_thread

0 comments on commit 44339a3

Please sign in to comment.