Skip to content

Commit

Permalink
remove log message
Browse files Browse the repository at this point in the history
  • Loading branch information
JNSimba committed Mar 11, 2024
1 parent a2438cc commit 37d1fdd
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.Network;
import org.testcontainers.containers.output.Slf4jLogConsumer;
import org.testcontainers.containers.wait.strategy.Wait;
import org.testcontainers.utility.DockerLoggerFactory;

import java.io.BufferedReader;
Expand Down Expand Up @@ -90,8 +89,7 @@ public static GenericContainer createDorisContainer() {
.withLogConsumer(
new Slf4jLogConsumer(
DockerLoggerFactory.getLogger(DORIS_DOCKER_IMAGE)))
.withExposedPorts(8030, 9030, 8040, 9060)
.waitingFor(Wait.forLogMessage(".*register be exec success.*\\n", 1));
.withExposedPorts(8030, 9030, 8040, 9060);

container.setPortBindings(
Lists.newArrayList(
Expand Down

0 comments on commit 37d1fdd

Please sign in to comment.