diff --git a/tests/tiup-cluster/script/cmd_subtest.sh b/tests/tiup-cluster/script/cmd_subtest.sh index 3e54c34d98..e34c92e57f 100755 --- a/tests/tiup-cluster/script/cmd_subtest.sh +++ b/tests/tiup-cluster/script/cmd_subtest.sh @@ -116,9 +116,9 @@ function cmd_subtest() { echo "$display_result" | grep "Since" # Test rename - tiup-cluster $client rename $name "tmp-cluster-name" + tiup-cluster $client --yes rename $name "tmp-cluster-name" tiup-cluster $client display "tmp-cluster-name" - tiup-cluster $client rename "tmp-cluster-name" $name + tiup-cluster $client --yes rename "tmp-cluster-name" $name # Test enable & disable tiup-cluster $client exec $name -R tidb --command="systemctl status tidb-4000|grep 'enabled;'" diff --git a/tests/tiup-cluster/script/scale_core.sh b/tests/tiup-cluster/script/scale_core.sh index 508b58a635..05961f8615 100755 --- a/tests/tiup-cluster/script/scale_core.sh +++ b/tests/tiup-cluster/script/scale_core.sh @@ -29,7 +29,7 @@ function scale_core() { tiup-cluster $client display $name - tiup-cluster $client reload $name --skip-restart + tiup-cluster $client --yes reload $name --skip-restart if [ $test_tls = true ]; then total_sub_one=18