Skip to content

Commit

Permalink
test(dm): set clustered index behaviour to old version (#7597)
Browse files Browse the repository at this point in the history
ref #4159
  • Loading branch information
lance6716 authored Nov 14, 2022
1 parent e0fda20 commit 14ea430
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dm/tests/_utils/run_tidb_server
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ done
# if user test is already exist, add || true to avoid exit with 2
mysql -uroot -h127.0.0.1 -P${PORT} --default-character-set utf8 -e "CREATE USER 'test'@'%' IDENTIFIED BY '$PASSWORD';" || true
mysql -uroot -h127.0.0.1 -P${PORT} --default-character-set utf8 -e "GRANT ALL PRIVILEGES ON *.* TO 'test'@'%' WITH GRANT OPTION;" || true
mysql -uroot -h127.0.0.1 -P${PORT} --default-character-set utf8 -e "SET @@global.tidb_enable_clustered_index = 'INT_ONLY'"
2 changes: 1 addition & 1 deletion dm/tests/shardddl3/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function DM_079_CASE() {

run_dm_ctl_with_retry $WORK_DIR "127.0.0.1:$MASTER_PORT" \
"query-status test" \
"Unsupported drop primary key when the table's pkIsHandle is true" 1
"Unsupported drop primary key" 1
}

function DM_079() {
Expand Down

0 comments on commit 14ea430

Please sign in to comment.