Skip to content

Commit

Permalink
test(dm): wait data is replicated to fix unstable test (pingcap#6519) (
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Jul 29, 2022
1 parent d1ef67e commit e8fd1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dm/tests/gtid/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function run() {
run_sql_source2 "insert into gtid.t2 values (4)"
# now Previous_gtids event is 09bec856-ba95-11ea-850a-58f2b4af5188:1-4:6

sleep 1
check_sync_diff $WORK_DIR $cur/conf/diff_config.toml
run_dm_ctl $WORK_DIR "127.0.0.1:$MASTER_PORT" \
"stop-task test" \
"\"result\": true" 3
Expand Down

0 comments on commit e8fd1e9

Please sign in to comment.