This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch branch-1.11
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/branch-1.11 by this push:
new 2b7de434a9 [KYUUBI #7328] Bump testcontainers-scala 0.44.1
2b7de434a9 is described below
commit 2b7de434a9795133d46ef3409917b08838202895
Author: Cheng Pan <[email protected]>
AuthorDate: Sat Feb 14 09:29:00 2026 +0800
[KYUUBI #7328] Bump testcontainers-scala 0.44.1
### Why are the changes needed?
To fix the issue "Docker 29.0.0 could not find a valid Docker environment"
https://github.com/testcontainers/testcontainers-java/issues/11212
### How was this patch tested?
Pass GHA.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #7328 from pan3793/tc.
Closes #7328
a640cf864 [Cheng Pan] kafka container
262daaac3 [Cheng Pan] Bump testcontainers-scala 0.44.1
Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
(cherry picked from commit c8a0ecbc5f60564054e603c670cf7b3baf52c947)
Signed-off-by: Cheng Pan <[email protected]>
---
.../handler/ServerKafkaLoggingEventHandlerSuite.scala | 18 +++---------------
pom.xml | 2 +-
2 files changed, 4 insertions(+), 16 deletions(-)
diff --git
a/kyuubi-server/src/test/scala/org/apache/kyuubi/events/handler/ServerKafkaLoggingEventHandlerSuite.scala
b/kyuubi-server/src/test/scala/org/apache/kyuubi/events/handler/ServerKafkaLoggingEventHandlerSuite.scala
index 967053f8f5..b3501edeee 100644
---
a/kyuubi-server/src/test/scala/org/apache/kyuubi/events/handler/ServerKafkaLoggingEventHandlerSuite.scala
+++
b/kyuubi-server/src/test/scala/org/apache/kyuubi/events/handler/ServerKafkaLoggingEventHandlerSuite.scala
@@ -38,15 +38,9 @@ import org.apache.kyuubi.operation.HiveJDBCTestHelper
abstract class ServerKafkaLoggingEventHandlerSuite extends WithKyuubiServer
with HiveJDBCTestHelper
with BatchTestHelper with TestContainerForAll {
- /**
- * `confluentinc/cp-kafka` is Confluent Community Docker Image for Apache
Kafka.
- * The list of compatibility for Kafka's version refers to:
- * https://docs.confluent.io/platform/current/installation
- * /versions-interoperability.html#cp-and-apache-ak-compatibility
- */
- protected val imageTag: String
+ protected val kafkaVersion: String
override lazy val containerDef: KafkaContainer.Def =
- KafkaContainer.Def(s"confluentinc/cp-kafka:$imageTag")
+ KafkaContainer.Def(s"apache/kafka:$kafkaVersion")
private val destTopic = "server-event-topic"
private val mapper = JsonMapper.builder().build()
override protected def jdbcUrl: String = getJdbcUrl
@@ -102,12 +96,6 @@ abstract class ServerKafkaLoggingEventHandlerSuite extends
WithKyuubiServer with
}
}
-class ServerKafkaLoggingEventHandlerSuiteForKafka2 extends
ServerKafkaLoggingEventHandlerSuite {
- // equivalent to Apache Kafka 2.8.x
- override val imageTag = "6.2.12"
-}
-
class ServerKafkaLoggingEventHandlerSuiteForKafka3 extends
ServerKafkaLoggingEventHandlerSuite {
- // equivalent to Apache Kafka 3.5.x
- override val imageTag = "7.5.1"
+ override val kafkaVersion = "3.9.1"
}
diff --git a/pom.xml b/pom.xml
index 9af9506e06..03e2bece59 100644
--- a/pom.xml
+++ b/pom.xml
@@ -217,7 +217,7 @@
<sqlite.version>3.46.1.3</sqlite.version>
<supercsv.version>2.2.0</supercsv.version>
<swagger.version>2.2.1</swagger.version>
- <testcontainers-scala.version>0.43.0</testcontainers-scala.version>
+ <testcontainers-scala.version>0.44.1</testcontainers-scala.version>
<!-- https://github.com/ThreeTen/threeten-extra/issues/226 -->
<threeten.version>1.7.0</threeten.version>
<!-- trino-client involves kotlin runtime dependencies since 412
because of upgrading okhttp -->