diff --git a/tests/tiup-cluster/script/cmd_subtest.sh b/tests/tiup-cluster/script/cmd_subtest.sh index 99710a4938..2664dd54bd 100755 --- a/tests/tiup-cluster/script/cmd_subtest.sh +++ b/tests/tiup-cluster/script/cmd_subtest.sh @@ -111,12 +111,8 @@ function cmd_subtest() { echo "$display_result" | grep "Total nodes" echo "$display_result" | grep "Since" - # display default don't show uptime - tiup-cluster $client display $name | grep pd | awk '{print $7}' | grep '-' - # sleep 10 seconds too ensure that all components are up - sleep 10 # display with --uptime should show process uptime - tiup-cluster $client display $name --uptime | grep pd | awk '{print $7}' | grep -v '-' + tiup-cluster $client display $name --uptime # Test rename tiup-cluster $client rename $name "tmp-cluster-name"