Skip to content

Commit

Permalink
test(dm): fix unstable tests (#6498)
Browse files Browse the repository at this point in the history
close #5602
  • Loading branch information
lance6716 authored Jul 28, 2022
1 parent 45bee3c commit f5b076e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dm/tests/shardddl1_1/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function DM_031_CASE() {
else
run_dm_ctl_with_retry $WORK_DIR "127.0.0.1:$MASTER_PORT" \
"query-status test" \
'ALTER TABLE `shardddl`.`tb` ADD COLUMN `new_col1` VARCHAR(10)' 1 \
'ALTER TABLE `shardddl`.`tb` ADD COLUMN `new_col1`' 1 \
"\"${SOURCE_ID2}-\`${shardddl1}\`.\`${tb1}\`\"" 1
fi
}
Expand Down
3 changes: 1 addition & 2 deletions dm/tests/sharding/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ function run() {

# resume-task to next stage
run_dm_ctl $WORK_DIR "127.0.0.1:$MASTER_PORT" \
"resume-task test" \
"\"result\": true" 3
"resume-task test"

# TODO: check sharding partition id
# use sync_diff_inspector to check data now!
Expand Down

0 comments on commit f5b076e

Please sign in to comment.