Skip to content

Commit

Permalink
Wait for log entry with the port in vanilla MySQL case
Browse files Browse the repository at this point in the history
  • Loading branch information
rsvoboda committed Apr 22, 2022
1 parent be22a4e commit 6de0664
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public Map<String, String> start() {
.withExposedPorts(3306);

mysqlContainer.waitingFor(new HostPortWaitStrategy()).waitingFor(
Wait.forLogMessage(".*ready for connections.*", 1)).start();
Wait.forLogMessage(".*ready for connections.*port: 33060.*", 1)).start();

Map<String, String> config = new HashMap<>();
config.put("quarkus.datasource.mysql.jdbc.url",
Expand Down

0 comments on commit 6de0664

Please sign in to comment.