Skip to content

Commit 10dd6f3

Browse files
Fix keycloak version to 24 for tests for now
1 parent 8ad7f86 commit 10dd6f3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/test/java/com/scality/keycloak/FullImageName.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
import dasniko.testcontainers.keycloak.KeycloakContainer;
77
import static java.lang.module.ModuleDescriptor.Version;
88

9+
import java.lang.module.ModuleDescriptor.Version;
10+
911
public class FullImageName {
1012
enum Distribution {
1113
quarkus
@@ -14,7 +16,10 @@ enum Distribution {
1416
private static final Distribution KEYCLOAK_DIST = Distribution.valueOf(
1517
System.getProperty("keycloak.dist", Distribution.quarkus.name()));
1618

17-
private static final String LATEST_VERSION = "latest";
19+
// For now hardcode latest supported version to 24.0.5
20+
// A breaking change is introduced in 25.0.0 where
21+
// DefaultHostnameProviderFactory is replaced by DefaultHostnameProvider
22+
private static final String LATEST_VERSION = "24.0.5";
1823
private static final String NIGHTLY_VERSION = "nightly";
1924
private static final String KEYCLOAK_VERSION = System.getProperty("keycloak.version", LATEST_VERSION);
2025

0 commit comments

Comments
 (0)