diff options
authorAtin Mukherjee <>2016-08-04 11:51:27 +0530
committerAtin Mukherjee <>2016-08-08 06:43:06 -0700
commit6bb6eb0b2c0ef98c3a1987a143e10e97584202aa (patch)
parent0f2c1fdee27cf6c35dee129d14f7226a20464c23 (diff)
tests: fix spurious failure in tests/bugs/glusterd/bug-1089668.t
Backport of Instead of rebalance stop, its always better to wait for rebalance to complete as the former doesn't have any purpose. >Reviewed-on: >Smoke: Gluster Build System <> >NetBSD-regression: NetBSD Build System <> >CentOS-regression: Gluster Build System <> >Reviewed-by: Jeff Darcy <> Change-Id: Ia1bc2a34d937a0a96543bebd257dcda619f12474 BUG: 1364327 Signed-off-by: Atin Mukherjee <> Reviewed-on: Smoke: Gluster Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Prashanth Pai <> NetBSD-regression: NetBSD Build System <>
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/bugs/glusterd/bug-1089668.t b/tests/bugs/glusterd/bug-1089668.t
index f2b99bf6051..c8eb7c30055 100755
--- a/tests/bugs/glusterd/bug-1089668.t
+++ b/tests/bugs/glusterd/bug-1089668.t
@@ -18,8 +18,7 @@ TEST $CLI volume start $V0
TEST $CLI volume rebalance $V0 start
TEST ! $CLI volume remove-brick $V0 $H0:$B0/${V0}1 status
-TEST $CLI volume rebalance $V0 stop
+EXPECT_WITHIN $REBALANCE_TIMEOUT "0" rebalance_completed
TEST $CLI volume remove-brick $V0 $H0:$B0/${V0}1 start
TEST ! $CLI volume rebalance $V0 status