Browse Source

MINOR: Add 3.5.0 and 3.4.1 to system tests (#13849)

Reviewers: Luke Chen <showuon@gmail.com>
pull/13991/head
Mickael Maison 1 year ago committed by GitHub
parent
commit
354db26b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      gradle/dependencies.gradle
  2. 7
      tests/docker/Dockerfile
  3. 3
      tests/kafkatest/version.py
  4. 4
      vagrant/base.sh

4
gradle/dependencies.gradle

@ -123,6 +123,8 @@ versions += [ @@ -123,6 +123,8 @@ versions += [
kafka_31: "3.1.2",
kafka_32: "3.2.3",
kafka_33: "3.3.1",
kafka_34: "3.4.1",
kafka_35: "3.5.0",
lz4: "1.8.0",
mavenArtifact: "3.8.8",
metrics: "2.2.0",
@ -213,6 +215,8 @@ libs += [ @@ -213,6 +215,8 @@ libs += [
kafkaStreams_31: "org.apache.kafka:kafka-streams:$versions.kafka_31",
kafkaStreams_32: "org.apache.kafka:kafka-streams:$versions.kafka_32",
kafkaStreams_33: "org.apache.kafka:kafka-streams:$versions.kafka_33",
kafkaStreams_34: "org.apache.kafka:kafka-streams:$versions.kafka_34",
kafkaStreams_35: "org.apache.kafka:kafka-streams:$versions.kafka_35",
log4j: "ch.qos.reload4j:reload4j:$versions.reload4j",
lz4: "org.lz4:lz4-java:$versions.lz4",
metrics: "com.yammer.metrics:metrics-core:$versions.metrics",

7
tests/docker/Dockerfile

@ -67,7 +67,9 @@ RUN mkdir -p "/opt/kafka-3.0.2" && chmod a+rw /opt/kafka-3.0.2 && curl -s "$KAFK @@ -67,7 +67,9 @@ RUN mkdir -p "/opt/kafka-3.0.2" && chmod a+rw /opt/kafka-3.0.2 && curl -s "$KAFK
RUN mkdir -p "/opt/kafka-3.1.2" && chmod a+rw /opt/kafka-3.1.2 && curl -s "$KAFKA_MIRROR/kafka_2.12-3.1.2.tgz" | tar xz --strip-components=1 -C "/opt/kafka-3.1.2"
RUN mkdir -p "/opt/kafka-3.2.3" && chmod a+rw /opt/kafka-3.2.3 && curl -s "$KAFKA_MIRROR/kafka_2.12-3.2.3.tgz" | tar xz --strip-components=1 -C "/opt/kafka-3.2.3"
RUN mkdir -p "/opt/kafka-3.3.1" && chmod a+rw /opt/kafka-3.3.1 && curl -s "$KAFKA_MIRROR/kafka_2.12-3.3.1.tgz" | tar xz --strip-components=1 -C "/opt/kafka-3.3.1"
RUN mkdir -p "/opt/kafka-3.4.0" && chmod a+rw /opt/kafka-3.4.0 && curl -s "$KAFKA_MIRROR/kafka_2.12-3.4.0.tgz" | tar xz --strip-components=1 -C "/opt/kafka-3.4.0"
RUN mkdir -p "/opt/kafka-3.4.1" && chmod a+rw /opt/kafka-3.4.1 && curl -s "$KAFKA_MIRROR/kafka_2.12-3.4.1.tgz" | tar xz --strip-components=1 -C "/opt/kafka-3.4.1"
RUN mkdir -p "/opt/kafka-3.5.0" && chmod a+rw /opt/kafka-3.5.0 && curl -s "$KAFKA_MIRROR/kafka_2.12-3.5.0.tgz" | tar xz --strip-components=1 -C "/opt/kafka-3.5.0"
# Streams test dependencies
RUN curl -s "$KAFKA_MIRROR/kafka-streams-0.10.0.1-test.jar" -o /opt/kafka-0.10.0.1/libs/kafka-streams-0.10.0.1-test.jar
@ -89,7 +91,8 @@ RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.0.2-test.jar" -o /opt/kafka-3.0.2/lib @@ -89,7 +91,8 @@ RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.0.2-test.jar" -o /opt/kafka-3.0.2/lib
RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.1.2-test.jar" -o /opt/kafka-3.1.2/libs/kafka-streams-3.1.2-test.jar
RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.2.3-test.jar" -o /opt/kafka-3.2.3/libs/kafka-streams-3.2.3-test.jar
RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.3.1-test.jar" -o /opt/kafka-3.3.1/libs/kafka-streams-3.3.1-test.jar
RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.4.0-test.jar" -o /opt/kafka-3.4.0/libs/kafka-streams-3.4.0-test.jar
RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.4.1-test.jar" -o /opt/kafka-3.4.1/libs/kafka-streams-3.4.1-test.jar
RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.5.0-test.jar" -o /opt/kafka-3.5.0/libs/kafka-streams-3.5.0-test.jar
# The version of Kibosh to use for testing.
# If you update this, also update vagrant/base.sh

3
tests/kafkatest/version.py

@ -245,7 +245,8 @@ LATEST_3_3 = V_3_3_1 @@ -245,7 +245,8 @@ LATEST_3_3 = V_3_3_1
# 3.4.x versions
V_3_4_0 = KafkaVersion("3.4.0")
LATEST_3_4 = V_3_4_0
V_3_4_1 = KafkaVersion("3.4.1")
LATEST_3_4 = V_3_4_1
# 3.5.x versions
V_3_5_0 = KafkaVersion("3.5.0")

4
vagrant/base.sh

@ -156,6 +156,10 @@ get_kafka 3.2.3 2.12 @@ -156,6 +156,10 @@ get_kafka 3.2.3 2.12
chmod a+rw /opt/kafka-3.2.3
get_kafka 3.3.1 2.12
chmod a+rw /opt/kafka-3.3.1
get_kafka 3.4.1 2.12
chmod a+rw /opt/kafka-3.4.1
get_kafka 3.5.0 2.12
chmod a+rw /opt/kafka-3.5.0
# For EC2 nodes, we want to use /mnt, which should have the local disk. On local

Loading…
Cancel
Save