fix build

This commit is contained in:
Stephan Schnabel 2024-06-24 09:10:33 +02:00
parent 64741efdae
commit 0531082407
Signed by: stephan.schnabel
GPG key ID: E07AF5BA239FE543
4 changed files with 11 additions and 5 deletions

View file

@ -54,8 +54,9 @@ public class KeycloakExtension implements BeforeAllCallback, ParameterResolver {
var container = new GenericContainer<>("quay.io/keycloak/keycloak:" + version)
.withEnv("KEYCLOAK_ADMIN", "admin")
.withEnv("KEYCLOAK_ADMIN_PASSWORD", "password")
.withEnv("KC_LOG_CONSOLE_COLOR", "true")
.withEnv("KC_LOG_LEVEL", "io.kokuwa:trace")
// otherwise port 9000 will be used, with this config we can test different keycloak versions
.withEnv("KC_LEGACY_OBSERVABILITY_INTERFACE", "true")
.withEnv("KC_HEALTH_ENABLED", "true")
.withEnv("KC_METRICS_ENABLED", "true")
.withEnv("KC_METRICS_STATS_ENABLED", "true")