Skip to content

Commit

Permalink
[Bug] [clickhouse-e2e] Enhance ClickHouse E2E testing to trigger mult…
Browse files Browse the repository at this point in the history
…iple checkpoints
  • Loading branch information
zhouyao committed Sep 13, 2023
1 parent 51c0d70 commit 0249c3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

public class ClickhouseIT extends TestSuiteBase implements TestResource {
private static final Logger LOG = LoggerFactory.getLogger(ClickhouseIT.class);
private static final String CLICKHOUSE_DOCKER_IMAGE = "yandex/clickhouse-server:22.1.3.7";
private static final String CLICKHOUSE_DOCKER_IMAGE = "clickhouse/clickhouse-server:latest";
private static final String HOST = "clickhouse";
private static final String DRIVER_CLASS = "com.clickhouse.jdbc.ClickHouseDriver";
private static final String INIT_CLICKHOUSE_PATH = "/init/clickhouse_init.conf";
Expand Down Expand Up @@ -352,8 +352,8 @@ private static Pair<SeaTunnelRowType, List<SeaTunnelRow>> generateTestDataSet()
}

private void compareResult() throws SQLException, IOException {
String sourceSql = "select * from " + SOURCE_TABLE;
String sinkSql = "select * from " + SINK_TABLE;
String sourceSql = "select * from " + SOURCE_TABLE + " order by id";
String sinkSql = "select * from " + SINK_TABLE + " order by id";
List<String> columnList =
Arrays.stream(generateTestDataSet().getKey().getFieldNames())
.collect(Collectors.toList());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env {
# You can set spark configuration here
execution.parallelism = 1
job.mode = "BATCH"
checkpoint.interval = 10
}

source {
Expand Down

0 comments on commit 0249c3b

Please sign in to comment.