summaryrefslogtreecommitdiffstats
path: root/tests/basic/tier/tierd_check.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/tier/tierd_check.t')
-rw-r--r--tests/basic/tier/tierd_check.t13
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/basic/tier/tierd_check.t b/tests/basic/tier/tierd_check.t
index ee97883688d..6edd2f3b795 100644
--- a/tests/basic/tier/tierd_check.t
+++ b/tests/basic/tier/tierd_check.t
@@ -19,11 +19,6 @@ function create_dist_tier_vol () {
TEST $CLI volume set $V0 cluster.tier-mode test
}
-function tier_deamon_check () {
-pgrep -f "rebalance/$V0"
-echo "$?"
-}
-
function tier_deamon_kill () {
pkill -f "rebalance/$V0"
echo "$?"
@@ -40,22 +35,22 @@ TEST $CLI volume status
#Create and start a tiered volume
create_dist_tier_vol
-EXPECT_WITHIN $PROCESS_UP_TIMEOUT 0 tier_deamon_check
+EXPECT_WITHIN $PROCESS_UP_TIMEOUT 0 tier_daemon_check
EXPECT_WITHIN $PROCESS_UP_TIMEOUT 0 tier_deamon_kill
TEST $CLI volume tier $V0 start
-EXPECT_WITHIN $PROCESS_UP_TIMEOUT "0" tier_deamon_check
+EXPECT_WITHIN $PROCESS_UP_TIMEOUT "0" tier_daemon_check
EXPECT_WITHIN $PROCESS_UP_TIMEOUT "0" tier_deamon_kill
TEST $CLI volume tier $V0 start force
-EXPECT_WITHIN $PROCESS_UP_TIMEOUT "0" tier_deamon_check
+EXPECT_WITHIN $PROCESS_UP_TIMEOUT "0" tier_daemon_check
TEST $CLI volume tier $V0 start force
-EXPECT_WITHIN $PROCESS_UP_TIMEOUT "0" tier_deamon_check
+EXPECT_WITHIN $PROCESS_UP_TIMEOUT "0" tier_daemon_check
cleanup