diff options
Diffstat (limited to 'tests/functional/quota')
-rw-r--r-- | tests/functional/quota/test_limit_usage_deep_dir.py | 8 | ||||
-rwxr-xr-x | tests/functional/quota/test_quota_limit_dir_breadth.py | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/functional/quota/test_limit_usage_deep_dir.py b/tests/functional/quota/test_limit_usage_deep_dir.py index f7fcf2912..f066441e2 100644 --- a/tests/functional/quota/test_limit_usage_deep_dir.py +++ b/tests/functional/quota/test_limit_usage_deep_dir.py @@ -118,10 +118,10 @@ class LimitUsageDeepDir(GlusterBaseClass): mount_object.client_system, mount_object.mountpoint) # Validate IO - g.log.info("Wait for IO to complete and validate IO ...") - ret = validate_io_procs(self.all_mounts_procs, self.mounts) - self.assertTrue(ret, "IO failed on some of the clients") - g.log.info("IO is successful on all mounts") + self.assertTrue( + validate_io_procs(self.all_mounts_procs, self.mounts), + "IO failed on some of the clients" + ) # Set soft timeout to 1 second g.log.info("Set quota soft timeout:") diff --git a/tests/functional/quota/test_quota_limit_dir_breadth.py b/tests/functional/quota/test_quota_limit_dir_breadth.py index 76747732f..b70c1187f 100755 --- a/tests/functional/quota/test_quota_limit_dir_breadth.py +++ b/tests/functional/quota/test_quota_limit_dir_breadth.py @@ -107,10 +107,10 @@ class QuotaLimitDirBreadth(GlusterBaseClass): self.all_mounts_procs.append(proc) # Validate IO - g.log.info("Wait for IO to complete and validate IO ...") - ret = validate_io_procs(self.all_mounts_procs, self.mounts) - self.assertTrue(ret, "IO failed on some of the clients") - g.log.info("IO is successful on all mounts") + self.assertTrue( + validate_io_procs(self.all_mounts_procs, self.mounts), + "IO failed on some of the clients" + ) # Get dir list g.log.info('Getting dir list in %s', self.volname) |