diff --git a/tests/filter/run.sh b/tests/filter/run.sh index 5ee3135a8..baee1a6b5 100755 --- a/tests/filter/run.sh +++ b/tests/filter/run.sh @@ -25,8 +25,6 @@ run_sql "CREATE DATABASE do_name;" run_sql "CREATE DATABASE do_not_start1;" run_sql "CREATE DATABASE do_not_name;" -# Test this DDL about tiflash will not abort the replication. -run_sql "ALTER TABLE do_start1 SET TIFLASH REPLICA 3 LOCATION LABELS \"rack\", \"host\", \"abc\""; run_sql "CREATE TABLE test.do_start1(id int);" run_sql "CREATE TABLE test.do_name(id int);" @@ -34,6 +32,9 @@ run_sql "CREATE TABLE test.do_not_start1(id int);" run_sql "CREATE TABLE test.do_not_name(id int);" run_sql "CREATE TABLE test.do_ignore_name(id int);" +# Test this DDL about tiflash will not abort the replication. +run_sql "ALTER TABLE test.do_start1 SET TIFLASH REPLICA 3 LOCATION LABELS \"rack\", \"host\", \"abc\""; + run_sql "INSERT INTO test.do_start1(id) VALUES (1);" run_sql "INSERT INTO test.do_name(id) VALUES (1);" run_sql "INSERT INTO test.do_not_start1(id) VALUES (1);" diff --git a/tests/run.sh b/tests/run.sh index 5cb001062..cb720a404 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -257,7 +257,7 @@ run_case() { } # List the case names to run, eg. ("binlog" "kafka") -do_cases=() +do_cases=("filter") if [ ${#do_cases[@]} -eq 0 ]; then for script in ./*/run.sh; do