summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2016-09-11 20:16:33 +0530
committerVijay Bellur <vbellur@redhat.com>2016-09-11 19:32:00 -0700
commit0ed0a560097426a0e20eb533f1018b8d6a5c08c0 (patch)
tree8b60d0b54ec213f670c8cb77052c694ac95856b2 /tests
parentaa742fd88e08eeb807dba1cb98402e8813ec6797 (diff)
tests: fix bug-963541.t spurious failure
wait for remove brick to complete before attempt for a commit. Change-Id: I66ea6c48b6a69fe33d79f9d9080b6f2c1462578e BUG: 1374993 Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: http://review.gluster.org/15457 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/bugs/glusterd/bug-963541.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/bugs/glusterd/bug-963541.t b/tests/bugs/glusterd/bug-963541.t
index ec863346dbf..ff94db3e6ef 100755
--- a/tests/bugs/glusterd/bug-963541.t
+++ b/tests/bugs/glusterd/bug-963541.t
@@ -17,7 +17,8 @@ TEST $CLI volume remove-brick $V0 $H0:$B0/${V0}1 start
TEST ! $CLI volume rebalance $V0 start
TEST ! $CLI volume remove-brick $V0 $H0:$B0/${V0}2 start
-#Try to start rebalance/remove-brick again after commit
+EXPECT_WITHIN $REBALANCE_TIMEOUT "completed" remove_brick_status_completed_field \
+"$V0" "$H0:$B0/${V0}1"
TEST $CLI volume remove-brick $V0 $H0:$B0/${V0}1 commit
gluster volume status