diff --git a/dm/tests/_utils/run_tidb_server b/dm/tests/_utils/run_tidb_server index 20f82605ff6..cde1e60629e 100755 --- a/dm/tests/_utils/run_tidb_server +++ b/dm/tests/_utils/run_tidb_server @@ -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'" diff --git a/dm/tests/shardddl3/run.sh b/dm/tests/shardddl3/run.sh index 236488241dd..325cf6716ef 100644 --- a/dm/tests/shardddl3/run.sh +++ b/dm/tests/shardddl3/run.sh @@ -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() {