summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-978794.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-978794.t')
-rw-r--r--tests/bugs/bug-978794.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/bug-978794.t b/tests/bugs/bug-978794.t
index d22d3cde33d..8cda83efe0a 100644
--- a/tests/bugs/bug-978794.t
+++ b/tests/bugs/bug-978794.t
@@ -18,12 +18,12 @@ TEST touch $M0/{1..100}
for i in {1..100}; do fd[$i]=`fd_available`; fd_open ${fd[$i]} 'w' $M0/$i; done
TEST $CLI volume add-brick $V0 $H0:$B0/${V0}{2,3}
TEST $CLI volume rebalance $V0 start force
-EXPECT_WITHIN 120 "completed" rebalance_status_field $V0
+EXPECT_WITHIN $REBALANCE_TIMEOUT "completed" rebalance_status_field $V0
TEST cat $M0/{1..100}
for i in {1..100}; do fd_write ${fd[$i]} 'abc'; done
TEST $CLI volume add-brick $V0 $H0:$B0/${V0}{4,5}
TEST $CLI volume rebalance $V0 start force
-EXPECT_WITHIN 120 "completed" rebalance_status_field $V0
+EXPECT_WITHIN $REBALANCE_TIMEOUT "completed" rebalance_status_field $V0
for i in {1..100}; do fd_write ${fd[$i]} 'abc'; done
TEST cat $M0/{1..100}
cleanup