diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2016-09-11 20:16:33 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2016-09-11 19:32:00 -0700 |
commit | 0ed0a560097426a0e20eb533f1018b8d6a5c08c0 (patch) | |
tree | 8b60d0b54ec213f670c8cb77052c694ac95856b2 /tests/bugs/glusterd/bug-963541.t | |
parent | aa742fd88e08eeb807dba1cb98402e8813ec6797 (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/bugs/glusterd/bug-963541.t')
-rwxr-xr-x | tests/bugs/glusterd/bug-963541.t | 3 |
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 |