Skip to content

Commit

Permalink
Merge pull request redlink-gmbh#11 from redlink-gmbh/feature/testcont…
Browse files Browse the repository at this point in the history
…ainers-zookeeper-3.4

ZookeeperContainer: fix wait strategy for 3.4
  • Loading branch information
ja-fra authored Mar 31, 2020
2 parents fcb8c22 + 6ecb603 commit 58c1694
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 58c1694

Please sign in to comment.