summaryrefslogtreecommitdiffstats
path: root/tests/functional/arbiter
diff options
context:
space:
mode:
authorSri Vignesh <sselvan@redhat.com>2018-09-14 15:02:06 +0530
committerSri Vignesh <sselvan@redhat.com>2018-09-14 15:15:10 +0530
commitea24fe1964e8fc74eab5e031ec67a464aed21445 (patch)
tree8374320793d4e9fb30c6a709f1f39bf00f0b4940 /tests/functional/arbiter
parente6e53b5321b8e991eb23bb9d9d6626e7ac364e1e (diff)
Fix for test_brickcases
for the current workload rebalance is not sufficient so changing the timeout to balance the workload. Change-Id: Iad5bf9d828ad12a6867847a02c19e0ebe6b7741e Signed-off-by: Sri Vignesh <sselvan@redhat.com>
Diffstat (limited to 'tests/functional/arbiter')
-rwxr-xr-xtests/functional/arbiter/brick_cases/test_brickcases.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/arbiter/brick_cases/test_brickcases.py b/tests/functional/arbiter/brick_cases/test_brickcases.py
index a5e33f0..ec5ac0a 100755
--- a/tests/functional/arbiter/brick_cases/test_brickcases.py
+++ b/tests/functional/arbiter/brick_cases/test_brickcases.py
@@ -289,7 +289,7 @@ class GlusterArbiterVolumeTypeChangeClass(GlusterBaseClass):
# Wait for rebalance to complete
g.log.info("Waiting for rebalance to complete")
- ret = wait_for_rebalance_to_complete(self.mnode, self.volname)
+ ret = wait_for_rebalance_to_complete(self.mnode, self.volname, 600)
self.assertTrue(ret, "Rebalance did not start "
"despite waiting for 5 mins")
g.log.info("Rebalance is successfully complete on the volume %s",
@@ -353,7 +353,7 @@ class GlusterArbiterVolumeTypeChangeClass(GlusterBaseClass):
# Shrinking volume by removing bricks from volume when IO in progress
g.log.info("Start removing bricks from volume when IO in progress")
- ret = shrink_volume(self.mnode, self.volname)
+ ret = shrink_volume(self.mnode, self.volname, rebalance_timeout=900)
self.assertTrue(ret, ("Failed to shrink the volume when IO in "
"progress on volume %s", self.volname))
g.log.info("Shrinking volume when IO in progress is successful on "