diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2016-08-04 11:51:27 +0530 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-08-04 08:44:34 -0700 |
commit | 2650f8b1101a1f345f310475841569feb852bf4b (patch) | |
tree | d07beb02394927d8649e1a5cb4a9fef593a8984f /tests/bugs/glusterd | |
parent | 049c91565dddb622b8902ccfeb36c0d414c609e1 (diff) |
tests: fix spurious failure in tests/bugs/glusterd/bug-1089668.t
Instead of rebalance stop, its always better to wait for rebalance to complete
as the former doesn't have any purpose.
Change-Id: Ia1bc2a34d937a0a96543bebd257dcda619f12474
BUG: 1363948
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/15085
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: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'tests/bugs/glusterd')
-rwxr-xr-x | tests/bugs/glusterd/bug-1089668.t | 3 |
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 |