You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2026/09/07 11:58:14 UTC
(kafka) branch trunk updated: KAFKA-21040 Upgrade testcontainers-keycloak to 4.3.1 for Docker 29 compatibility (#23384)
This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new b3ac35cc8ed KAFKA-21040 Upgrade testcontainers-keycloak to 4.3.1 for Docker 29 compatibility (#23384)
b3ac35cc8ed is described below
commit b3ac35cc8edb707917d24f46a568e3f4a55df1df
Author: Andy Huang <16...@users.noreply.github.com>
AuthorDate: Mon Sep 7 19:58:05 2026 +0800
KAFKA-21040 Upgrade testcontainers-keycloak to 4.3.1 for Docker 29 compatibility (#23384)
Testcontainers 1.x fails Docker detection on Docker 29 due to Docker API
incompatibility, causing ClientAssertionKeycloakIntegrationTest to be
skipped.
This upgrades testcontainers-keycloak from 3.5.1 to 4.3.1, which brings
in Testcontainers 2.0.5 transitively. The explicit Testcontainers
version and the junit-jupiter dependency are removed since they are no
longer used.
Reviewers: Chia-Ping Tsai <ch...@gmail.com>, Ken Huang
<s7...@gmail.com>
---
build.gradle | 1 -
gradle/dependencies.gradle | 4 +---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/build.gradle b/build.gradle
index 5543b29419d..28de98c0edf 100644
--- a/build.gradle
+++ b/build.gradle
@@ -2055,7 +2055,6 @@ project(':clients') {
testImplementation libs.mockitoCore
testImplementation libs.mockitoJunitJupiter // supports MockitoExtension
testImplementation libs.testcontainersKeycloak
- testImplementation libs.testcontainersJunitJupiter
testRuntimeOnly libs.jacksonDatabind
testRuntimeOnly runtimeTestLibs
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index b31f3ecf17c..7676c3531b4 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -130,8 +130,7 @@ versions += [
slf4j: "1.7.36",
snappy: "1.1.10.7",
spotbugs: "4.9.8",
- testcontainers: "1.20.2",
- testcontainersKeycloak: "3.5.1",
+ testcontainersKeycloak: "4.3.1",
mockOAuth2Server: "2.3.0",
zinc: "1.12.1",
// When updating the zstd version, please do as well in docker/native/native-image-configs/resource-config.json
@@ -240,7 +239,6 @@ libs += [
snappy: "org.xerial.snappy:snappy-java:$versions.snappy",
spotbugs: "com.github.spotbugs:spotbugs-annotations:$versions.spotbugs",
swaggerAnnotations: "io.swagger.core.v3:swagger-annotations:$swaggerVersion",
- testcontainersJunitJupiter: "org.testcontainers:junit-jupiter:$versions.testcontainers",
testcontainersKeycloak: "com.github.dasniko:testcontainers-keycloak:$versions.testcontainersKeycloak",
mockOAuth2Server: "no.nav.security:mock-oauth2-server:$versions.mockOAuth2Server",
jfreechart: "org.jfree:jfreechart:$versions.jfreechart",