diff options
author | ubansal <ubansal@redhat.com> | 2020-06-10 15:00:03 +0530 |
---|---|---|
committer | Upasana Bansal <ubansal@redhat.com> | 2020-06-10 10:18:44 +0000 |
commit | 47f5ccbb03284f2a84a62f840841d86f80292b06 (patch) | |
tree | 4c5fea6b384cfb9ca2e7c182ab0022de1488c3e3 /tests/functional/bvt | |
parent | 9761f6fcf53237a6f107b53c4fde26efb32787b6 (diff) |
[TestFix] Decreased the IO's and increase timeouts
Decreased the deep directory creation from 15 to 10
As heal completion within 20 mins for disperse
was intermitently failing
Also increased timeout for bricks to be online
and healing to complete
Change-Id: I1c1eef383ca4bf3f7f1f89e00da096bbbf57b9db
Signed-off-by: ubansal <ubansal@redhat.com>
Diffstat (limited to 'tests/functional/bvt')
-rw-r--r-- | tests/functional/bvt/test_cvt.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/functional/bvt/test_cvt.py b/tests/functional/bvt/test_cvt.py index 9a2bcd9f7..cec7a48f7 100644 --- a/tests/functional/bvt/test_cvt.py +++ b/tests/functional/bvt/test_cvt.py @@ -124,7 +124,7 @@ class GlusterBasicFeaturesSanityBaseClass(GlusterBaseClass): cmd = ("/usr/bin/env python %s create_deep_dirs_with_files " "--dirname-start-num %d " "--dir-depth 2 " - "--dir-length 15 " + "--dir-length 10 " "--max-num-of-dirs 5 " "--num-of-files 5 %s" % ( self.script_upload_path, @@ -755,7 +755,8 @@ class TestGlusterHealSanity(GlusterBasicFeaturesSanityBaseClass): # Wait for volume processes to be online g.log.info("Wait for volume processes to be online") - ret = wait_for_volume_process_to_be_online(self.mnode, self.volname) + ret = wait_for_volume_process_to_be_online(self.mnode, self.volname, + timeout=400) self.assertTrue(ret, ("Failed to wait for volume %s processes to " "be online", self.volname)) g.log.info("Successful in waiting for volume %s processes to be " @@ -779,9 +780,10 @@ class TestGlusterHealSanity(GlusterBasicFeaturesSanityBaseClass): # Wait for self-heal to complete g.log.info("Wait for self-heal to complete") - ret = monitor_heal_completion(self.mnode, self.volname) + ret = monitor_heal_completion(self.mnode, self.volname, + timeout_period=1500) self.assertTrue(ret, "Self heal didn't complete even after waiting " - "for 20 minutes. 20 minutes is too much a time for " + "for 25 minutes. 25 minutes is too much a time for " "current test workload") g.log.info("self-heal is successful after replace-brick operation") |