Skip to content

Commit

Permalink
Update tests/gc_safepoint/run.sh
Browse files Browse the repository at this point in the history
Co-authored-by: amyangfei <amyangfei@gmail.com>
  • Loading branch information
liuzix and amyangfei authored Aug 26, 2021
1 parent 0d583ee commit 7328315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gc_safepoint/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function run() {
run_cdc_server --workdir $WORK_DIR --binary $CDC_BINARY --addr "127.0.0.1:8300" --pd $pd_addr
changefeed_id=$(cdc cli changefeed create --pd=$pd_addr --sink-uri="$SINK_URI" 2>&1|tail -n2|head -n1|awk '{print $2}')

get_clear_gc_worker_safepoint $pd_addr $pd_cluster_id
clear_gc_worker_safepoint $pd_addr $pd_cluster_id

run_sql "CREATE DATABASE gc_safepoint;" ${UP_TIDB_HOST} ${UP_TIDB_PORT}
run_sql "CREATE table gc_safepoint.simple(id int primary key auto_increment, val int);" ${UP_TIDB_HOST} ${UP_TIDB_PORT}
Expand Down

0 comments on commit 7328315

Please sign in to comment.