diff --git a/dm/tests/lightning_mode/run.sh b/dm/tests/lightning_mode/run.sh index 3c442fccc87..b70b46cc9ff 100755 --- a/dm/tests/lightning_mode/run.sh +++ b/dm/tests/lightning_mode/run.sh @@ -128,10 +128,10 @@ function run() { export GO_FAILPOINTS='' } -#cleanup_data lightning_mode -## also cleanup dm processes in case of last run failed -#cleanup_process $* -#run $* -#cleanup_process $* +cleanup_data lightning_mode +# also cleanup dm processes in case of last run failed +cleanup_process $* +run $* +cleanup_process $* echo "[$(date)] <<<<<< test case $TEST_NAME success! >>>>>>" diff --git a/dm/tests/tls/run.sh b/dm/tests/tls/run.sh index c249db41559..9fa05145d03 100644 --- a/dm/tests/tls/run.sh +++ b/dm/tests/tls/run.sh @@ -384,17 +384,17 @@ function run() { test_source_and_target_with_empty_tlsconfig } -#cleanup_data tls -#cleanup_process -# -#run -# -## kill the tidb with tls -#pkill -hup tidb-server 2>/dev/null || true -#wait_process_exit tidb-server -# -#run_tidb_server 4000 $TIDB_PASSWORD -# -#cleanup_process +cleanup_data tls +cleanup_process + +run + +# kill the tidb with tls +pkill -hup tidb-server 2>/dev/null || true +wait_process_exit tidb-server + +run_tidb_server 4000 $TIDB_PASSWORD + +cleanup_process echo "[$(date)] <<<<<< test case $TEST_NAME success! >>>>>>"