summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2016-09-11 20:16:33 +0530
committerAravinda VK <avishwan@redhat.com>2016-09-18 22:40:34 -0700
commitddab7a37b91957a69319be92ba865245eac4e344 (patch)
tree4f91e1bfbcf4e8939949e14e0b37c0663128b7d4
parent8781ea7ddacc602b2f23689fa5f3415aec7253f1 (diff)
tests: fix bug-963541.t spurious failure
wait for remove brick to complete before attempt for a commit. >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> Change-Id: I66ea6c48b6a69fe33d79f9d9080b6f2c1462578e BUG: 1375042 Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: http://review.gluster.org/15458 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: Aravinda VK <avishwan@redhat.com>
-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