mirror of
https://github.com/valitydev/testcontainers-annotations.git
synced 2024-11-06 08:55:19 +00:00
Replace deprecated param (#15)
* Replace deprecated param * Bump version
This commit is contained in:
parent
411ae01c49
commit
9158908700
2
pom.xml
2
pom.xml
@ -12,7 +12,7 @@
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<artifactId>testcontainers-annotations</artifactId>
|
||||
<version>1.4.1</version>
|
||||
<version>1.4.2</version>
|
||||
|
||||
<name>testcontainers-annotations</name>
|
||||
<description>testcontainers-annotations</description>
|
||||
|
@ -172,7 +172,7 @@ public class KafkaTestcontainerExtension implements BeforeAllCallback, AfterAllC
|
||||
}
|
||||
|
||||
private String execInContainerKafkaTopicsListCommand(KafkaContainer container) {
|
||||
var kafkaTopicsListCommand = "/usr/bin/kafka-topics --zookeeper localhost:2181 --list";
|
||||
var kafkaTopicsListCommand = "/usr/bin/kafka-topics --bootstrap-server localhost:9092 --list";
|
||||
try {
|
||||
var stdout = container.execInContainer("/bin/sh", "-c", kafkaTopicsListCommand)
|
||||
.getStdout();
|
||||
|
Loading…
Reference in New Issue
Block a user