Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei committed Jul 27, 2020
1 parent e1b982c commit 1948dd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/gc_safepoint/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ function run() {
run_sql "INSERT INTO gc_safepoint.simple VALUES (),();" ${UP_TIDB_HOST} ${UP_TIDB_PORT}
check_sync_diff $WORK_DIR $CUR/conf/diff_config.toml

pd-ctl -u $pd_addr cluster
pd_cluster_id=$(pd-ctl -u $pd_addr cluster|grep -oE "id\":\s[0-9]+"|grep -oE "[0-9]+")
curl $pd_addr/pd/api/v1/cluster
pd_cluster_id=$(curl $pd_addr/pd/api/v1/cluster|grep -oE "id\":\s[0-9]+"|grep -oE "[0-9]+")
ensure $MAX_RETRIES check_safepoint_forward $pd_addr $pd_cluster_id

# after the changefeed is paused, the safe_point will be not updated
Expand Down

0 comments on commit 1948dd8

Please sign in to comment.