summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-874498.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-874498.t')
-rw-r--r--tests/bugs/bug-874498.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/bugs/bug-874498.t b/tests/bugs/bug-874498.t
index de58aef4d39..fa74115960f 100644
--- a/tests/bugs/bug-874498.t
+++ b/tests/bugs/bug-874498.t
@@ -1,5 +1,6 @@
#!/bin/bash
. $(dirname $0)/../include.rc
+. $(dirname $0)/../volume.rc
. $(dirname $0)/../afr.rc
cleanup;
@@ -48,7 +49,9 @@ EXPECT "3" echo $count
TEST $CLI volume start $V0 force
-sleep 5
+EXPECT_WITHIN $PROCESS_UP_TIMEOUT "Y" glustershd_up_status
+EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status_in_shd $V0 0
+EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status_in_shd $V0 1
TEST $CLI volume heal $V0