diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2016-08-04 11:51:27 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2016-08-07 04:55:48 -0700 |
commit | df4cab9a3205827f89d5c977e714e87276f4ad63 (patch) | |
tree | c82fd8f529626c4c82d4ad73affe09b782925832 /tests/bugs/glusterd | |
parent | ffc67d3fc64a016e9900bdb8b5fed5866850a1d8 (diff) |
tests: fix spurious failure in tests/bugs/glusterd/bug-1089668.t
Backport of http://review.gluster.org/15085
Instead of rebalance stop, its always better to wait for rebalance to complete
as the former doesn't have any purpose.
>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>
Change-Id: Ia1bc2a34d937a0a96543bebd257dcda619f12474
BUG: 1364326
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/15089
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: Prashanth Pai <ppai@redhat.com>
Reviewed-by: Niels de Vos <ndevos@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 |