diff options
author | Jeff Darcy <jdarcy@redhat.com> | 2015-03-25 09:21:06 -0400 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2015-03-26 11:44:52 -0700 |
commit | 02c045790136fc6e979a82d4d7fa8d1d298478fb (patch) | |
tree | a97f5190933206f731043867865a945a13f6b430 /tests/basic | |
parent | c54e546040a15d6f1751816f59bdfba430b5fde3 (diff) |
tests: fix rebalance_completed
This was causing spurious faiures in bug-884455.t and possibly
elsewhere.
Change-Id: Iad6b7515ca0c7c485300f79dcd2477efc76877f8
BUG: 1163543
Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-on: http://review.gluster.org/9994
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'tests/basic')
-rwxr-xr-x | tests/basic/quota.t | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/basic/quota.t b/tests/basic/quota.t index 47ea832e5e4..9fcd0a7ea10 100755 --- a/tests/basic/quota.t +++ b/tests/basic/quota.t @@ -155,14 +155,7 @@ TEST $CLI volume add-brick $V0 $H0:$B0/brick{3,4} TEST $CLI volume rebalance $V0 start; ## Wait for rebalance -while true; do - rebalance_completed - if [ $? -eq 1 ]; then - sleep 1; - else - break; - fi -done +EXPECT_WITHIN $REBALANCE_TIMEOUT "0" rebalance_completed ## <Try creating data beyond limit> ## -------------------------------- |