Skip to content

Commit

Permalink
tests: reload, rename with --yes
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvisa committed Mar 31, 2021
1 parent 3120241 commit 679c71b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/tiup-cluster/script/cmd_subtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;'"
Expand Down
2 changes: 1 addition & 1 deletion tests/tiup-cluster/script/scale_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 679c71b

Please sign in to comment.