Skip to content

Commit

Permalink
Fix keycloak version to 24 for tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
JBWatenbergScality committed Jun 25, 2024
1 parent 3825f78 commit 398797f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/test/java/com/scality/keycloak/FullImageName.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import dasniko.testcontainers.keycloak.KeycloakContainer;
import static java.lang.module.ModuleDescriptor.Version;

import java.lang.module.ModuleDescriptor.Version;

public class FullImageName {
enum Distribution {
quarkus
Expand All @@ -14,7 +16,10 @@ enum Distribution {
private static final Distribution KEYCLOAK_DIST = Distribution.valueOf(
System.getProperty("keycloak.dist", Distribution.quarkus.name()));

private static final String LATEST_VERSION = "latest";
// For now hardcode latest supported version to 24.0.5
// A breaking change is introduced in 25.0.0 where
// DefaultHostnameProviderFactory is replaced by DefaultHostnameProvider
private static final String LATEST_VERSION = "24.0.5";
private static final String NIGHTLY_VERSION = "nightly";
private static final String KEYCLOAK_VERSION = System.getProperty("keycloak.version", LATEST_VERSION);

Expand Down

0 comments on commit 398797f

Please sign in to comment.