Skip to content

Commit

Permalink
dm-test: fix unstable case (pingcap#3365)
Browse files Browse the repository at this point in the history
  • Loading branch information
D3Hunter authored and glorv committed Nov 11, 2021
1 parent cb59030 commit b8b05d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dm/tests/ha_cases2/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ function test_pause_task() {

for name in ${task_name[@]}; do
echo "resume tasks $name"
run_dm_ctl $WORK_DIR "127.0.0.1:$MASTER_PORT" \
run_dm_ctl_with_retry $WORK_DIR "127.0.0.1:$MASTER_PORT" \
"resume-task $name" \
"\"result\": true" 3

# resume twice, just used to test resume by the way
run_dm_ctl $WORK_DIR "127.0.0.1:$MASTER_PORT" \
run_dm_ctl_with_retry $WORK_DIR "127.0.0.1:$MASTER_PORT" \
"resume-task $name" \
"\"result\": true" 3

Expand Down

0 comments on commit b8b05d8

Please sign in to comment.