File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/test/kotlin/org/modelix/model/server Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -221,5 +221,6 @@ project.registerVersionGenerationTask("org.modelix.model.server")
221
221
tasks.test {
222
222
// Workaround Ignite failing locally because the autogenerated node ID results in an invalid path name.
223
223
// See https://stackoverflow.com/questions/76387714/apache-ignite-failing-on-startup
224
- setEnvironment(" IGNITE_OVERRIDE_CONSISTENT_ID" to " node00" )
224
+ environment(" IGNITE_OVERRIDE_CONSISTENT_ID" , " node00" )
225
+ environment(" KEYCLOAK_VERSION" , libs.versions.keycloak.get())
225
226
}
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ class AuthorizationTest {
160
160
"""
161
161
162
162
// Reuse on container across all tests. The configuration and state does not change in between.
163
- private val keycloak: GenericContainer <* > = GenericContainer (" quay.io/keycloak/keycloak:25.0.4 " )
163
+ private val keycloak: GenericContainer <* > = GenericContainer (" quay.io/keycloak/keycloak:${ System .getenv( " KEYCLOAK_VERSION " )} " )
164
164
.withEnv(" KEYCLOAK_ADMIN" , ADMIN_USER )
165
165
.withEnv(" KEYCLOAK_ADMIN_PASSWORD" , ADMIN_PASSWORD )
166
166
.withExposedPorts(8080 )
You can’t perform that action at this time.
0 commit comments