diff --git a/test/testcontainers/src/main/java/io/redlink/utils/test/testcontainers/ZookeeperContainer.java b/test/testcontainers/src/main/java/io/redlink/utils/test/testcontainers/ZookeeperContainer.java index f946c38..9811189 100644 --- a/test/testcontainers/src/main/java/io/redlink/utils/test/testcontainers/ZookeeperContainer.java +++ b/test/testcontainers/src/main/java/io/redlink/utils/test/testcontainers/ZookeeperContainer.java @@ -40,7 +40,7 @@ public ZookeeperContainer() { public ZookeeperContainer(String dockerImageName) { super(dockerImageName); - waitStrategy = Wait.forLogMessage(".*binding to port /0.0.0.0:" + CONNECT_PORT + "\n", 1); + waitStrategy = Wait.forLogMessage(".*binding to port .*:" + CONNECT_PORT + "\n", 1); addExposedPorts(CONNECT_PORT, ADMIN_PORT); addEnv("ZOO_4LW_COMMANDS_WHITELIST", String.join(",", FOUR_LETTER_COMMANDS)); }