Skip to content

Commit c8a0ecb

Browse files
committed
[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" testcontainers/testcontainers-java#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 a640cf8 [Cheng Pan] kafka container 262daaa [Cheng Pan] Bump testcontainers-scala 0.44.1 Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
1 parent c5acf54 commit c8a0ecb

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

kyuubi-server/src/test/scala/org/apache/kyuubi/events/handler/ServerKafkaLoggingEventHandlerSuite.scala

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,9 @@ import org.apache.kyuubi.operation.HiveJDBCTestHelper
3838
abstract class ServerKafkaLoggingEventHandlerSuite extends WithKyuubiServer with HiveJDBCTestHelper
3939
with BatchTestHelper with TestContainerForAll {
4040

41-
/**
42-
* `confluentinc/cp-kafka` is Confluent Community Docker Image for Apache Kafka.
43-
* The list of compatibility for Kafka's version refers to:
44-
* https://docs.confluent.io/platform/current/installation
45-
* /versions-interoperability.html#cp-and-apache-ak-compatibility
46-
*/
47-
protected val imageTag: String
41+
protected val kafkaVersion: String
4842
override lazy val containerDef: KafkaContainer.Def =
49-
KafkaContainer.Def(s"confluentinc/cp-kafka:$imageTag")
43+
KafkaContainer.Def(s"apache/kafka:$kafkaVersion")
5044
private val destTopic = "server-event-topic"
5145
private val mapper = JsonMapper.builder().build()
5246
override protected def jdbcUrl: String = getJdbcUrl
@@ -102,12 +96,6 @@ abstract class ServerKafkaLoggingEventHandlerSuite extends WithKyuubiServer with
10296
}
10397
}
10498

105-
class ServerKafkaLoggingEventHandlerSuiteForKafka2 extends ServerKafkaLoggingEventHandlerSuite {
106-
// equivalent to Apache Kafka 2.8.x
107-
override val imageTag = "6.2.12"
108-
}
109-
11099
class ServerKafkaLoggingEventHandlerSuiteForKafka3 extends ServerKafkaLoggingEventHandlerSuite {
111-
// equivalent to Apache Kafka 3.5.x
112-
override val imageTag = "7.5.1"
100+
override val kafkaVersion = "3.9.1"
113101
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
<sqlite.version>3.46.1.3</sqlite.version>
218218
<supercsv.version>2.2.0</supercsv.version>
219219
<swagger.version>2.2.1</swagger.version>
220-
<testcontainers-scala.version>0.43.0</testcontainers-scala.version>
220+
<testcontainers-scala.version>0.44.1</testcontainers-scala.version>
221221
<!-- https://github.com/ThreeTen/threeten-extra/issues/226 -->
222222
<threeten.version>1.7.0</threeten.version>
223223
<!-- trino-client involves kotlin runtime dependencies since 412 because of upgrading okhttp -->

0 commit comments

Comments
 (0)