Skip to content

Commit

Permalink
revert something from PR 10139
Browse files Browse the repository at this point in the history
Signed-off-by: qupeng <[email protected]>
  • Loading branch information
hicqu committed Dec 17, 2023
1 parent 844b41b commit ec35122
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions dm/tests/lightning_mode/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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! >>>>>>"
24 changes: 12 additions & 12 deletions dm/tests/tls/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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! >>>>>>"

0 comments on commit ec35122

Please sign in to comment.