File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
flink-end-to-end-tests/flink-sql-client-test Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ under the License.
7373 </dependency >
7474 <dependency >
7575 <groupId >org.testcontainers</groupId >
76- <artifactId >kafka</artifactId >
76+ <artifactId >testcontainers- kafka</artifactId >
7777 <scope >test</scope >
7878 </dependency >
7979
Original file line number Diff line number Diff line change 4242import org .slf4j .Logger ;
4343import org .slf4j .LoggerFactory ;
4444import org .testcontainers .containers .GenericContainer ;
45- import org .testcontainers .containers .KafkaContainer ;
4645import org .testcontainers .containers .Network ;
4746import org .testcontainers .containers .output .Slf4jLogConsumer ;
4847import org .testcontainers .junit .jupiter .Container ;
4948import org .testcontainers .junit .jupiter .Testcontainers ;
49+ import org .testcontainers .kafka .KafkaContainer ;
5050import org .testcontainers .utility .DockerImageName ;
5151
5252import java .io .File ;
@@ -80,7 +80,9 @@ public class SqlClientITCase {
8080
8181 @ Container
8282 public static final KafkaContainer KAFKA =
83- new KafkaContainer (DockerImageName .parse (DockerImageVersions .KAFKA ))
83+ new KafkaContainer (
84+ DockerImageName .parse (DockerImageVersions .KAFKA )
85+ .asCompatibleSubstituteFor ("apache/kafka" ))
8486 .withNetwork (NETWORK )
8587 .withNetworkAliases (INTER_CONTAINER_KAFKA_ALIAS )
8688 .withLogConsumer (LOG_CONSUMER );
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ under the License.
164164 <beam .version>2.54.0</beam .version>
165165 <protoc .version>4.32.1</protoc .version>
166166 <okhttp .version>3.14.9</okhttp .version>
167- <testcontainers .version>1.20.2 </testcontainers .version>
167+ <testcontainers .version>2.0.3 </testcontainers .version>
168168 <lz4 .version>1.8.0</lz4 .version>
169169 <commons .io.version>2.15.1</commons .io.version>
170170 <japicmp .skip>false</japicmp .skip>
@@ -293,7 +293,7 @@ under the License.
293293
294294 <dependency >
295295 <groupId >org.testcontainers</groupId >
296- <artifactId >junit-jupiter</artifactId >
296+ <artifactId >testcontainers- junit-jupiter</artifactId >
297297 <scope >test</scope >
298298 </dependency >
299299
You can’t perform that action at this time.
0 commit comments