summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJilju Joy <jijoy@redhat.com>2019-01-31 14:48:39 +0530
committerjilju joy <jijoy@redhat.com>2019-01-31 09:31:51 +0000
commit1e048e8b8d5fb017e45ff9538d30c7f1f8b3ad06 (patch)
tree13e2a8d431792db5fc381a72f49daa9b86aba438
parentcfb92a9a3473f2d163ec8f6453a55d32d113221e (diff)
Increase wait time for the completion of rebalance. Correction in assert statement
Change-Id: I4333ab2eb63271c5c35756798ea515c7a4d4a3fb
-rw-r--r--tests/functional/fuse_subdir/test_fusesubdir_with_addbrick.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional/fuse_subdir/test_fusesubdir_with_addbrick.py b/tests/functional/fuse_subdir/test_fusesubdir_with_addbrick.py
index 82312c0..13a21be 100644
--- a/tests/functional/fuse_subdir/test_fusesubdir_with_addbrick.py
+++ b/tests/functional/fuse_subdir/test_fusesubdir_with_addbrick.py
@@ -192,10 +192,10 @@ class SubdirWithAddBrick(GlusterBaseClass):
# Wait for rebalance to complete
g.log.info("Waiting for rebalance to complete")
- ret = wait_for_rebalance_to_complete(self.mnode, self.volname)
- self.assertTrue(ret, "Rebalance did not start "
- "despite waiting for 5 mins")
- g.log.info("Rebalance is successfully complete on the volume %s",
+ ret = wait_for_rebalance_to_complete(self.mnode, self.volname, 600)
+ self.assertTrue(ret, "Rebalance did not complete "
+ "despite waiting for 10 minutes")
+ g.log.info("Rebalance successfully completed on the volume %s",
self.volname)
# Again validate if subdirectories are still mounted post add-brick