From 6cde2c096ee36d7c433fe99b4faf391aa3efb250 Mon Sep 17 00:00:00 2001 From: 9547 Date: Fri, 26 Mar 2021 07:22:05 +0800 Subject: [PATCH] tests/cluster: the cluster maybe not up, don't check process time --- tests/tiup-cluster/script/cmd_subtest.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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"