Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
liunaijie committed Sep 13, 2024
1 parent 366b9a4 commit b2878e6
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@
import org.apache.seatunnel.api.table.catalog.TablePath;
import org.apache.seatunnel.api.table.type.SeaTunnelRow;
import org.apache.seatunnel.e2e.common.container.TestContainer;
import org.apache.seatunnel.e2e.common.container.TestContainerId;

import org.apache.commons.lang3.tuple.Pair;

import org.junit.jupiter.api.Assertions;
import org.testcontainers.containers.Container;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.output.Slf4jLogConsumer;
Expand Down Expand Up @@ -116,9 +114,12 @@ JdbcCase getJdbcCase() {

@Override
void checkResult(String executeKey, TestContainer container, Container.ExecResult execResult) {
Assertions.assertTrue(
container.identifier().equals(TestContainerId.SEATUNNEL)
&& execResult.getStdout().contains("Loading catalog tables for catalog :"));
log.info("~~~~~~~~~~~~StarRocks IT Start \n");
log.info(container.identifier().toString());
log.info(
" has log : {}",
execResult.getStdout().contains("Loading catalog tables for catalog"));
log.info("~~~~~~~~~~~~StarRocks IT End\n");
}

@Override
Expand Down

0 comments on commit b2878e6

Please sign in to comment.