File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
tests/integration_tests/unsplittable_tables Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,13 @@ function run() {
2121 run_cdc_server --workdir $WORK_DIR --binary $CDC_BINARY
2222
2323 SINK_URI=" mysql://root:@127.0.0.1:3306/"
24- cdc_cli_changefeed create --sink-uri=" $SINK_URI " -c " test" --config=" $CUR /conf/changefeed.toml"
2524
2625 run_sql " use test;create table t1 (a int primary key, b int, unique key uk(b));" ${UP_TIDB_HOST} ${UP_TIDB_PORT}
26+ run_sql " use test;create table t1 (a int primary key, b int, unique key uk(b));" ${DOWN_TIDB_HOST} ${DOWN_TIDB_PORT}
2727 run_sql " split table test.t1 between (1) and (100000) regions 50;" ${UP_TIDB_HOST} ${UP_TIDB_PORT}
2828
29+ cdc_cli_changefeed create --sink-uri=" $SINK_URI " -c " test" --config=" $CUR /conf/changefeed.toml"
30+
2931 sleep 60 # sleep enough for try to split table
3032 check_sync_diff $WORK_DIR $CUR /conf/diff_config.toml 50
3133
@@ -49,6 +51,7 @@ function run_for_force_split() {
4951 SINK_URI=" mysql://root:@127.0.0.1:3306/"
5052
5153 run_sql " use test;create table t1 (a int primary key, b int, unique key uk(b));" ${UP_TIDB_HOST} ${UP_TIDB_PORT}
54+ run_sql " use test;create table t1 (a int primary key, b int, unique key uk(b));" ${DOWN_TIDB_HOST} ${DOWN_TIDB_PORT}
5255 run_sql " split table test.t1 between (1) and (100000) regions 50;" ${UP_TIDB_HOST} ${UP_TIDB_PORT}
5356
5457 sleep 10
You can’t perform that action at this time.
0 commit comments