From 47f5ccbb03284f2a84a62f840841d86f80292b06 Mon Sep 17 00:00:00 2001 From: ubansal Date: Wed, 10 Jun 2020 15:00:03 +0530 Subject: [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 --- tests/functional/bvt/test_cvt.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tests/functional/bvt/test_cvt.py') 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") -- cgit