summaryrefslogtreecommitdiffstats
path: root/tests/functional/afr/test_heal_fail_1x3.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/afr/test_heal_fail_1x3.py')
-rw-r--r--tests/functional/afr/test_heal_fail_1x3.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/functional/afr/test_heal_fail_1x3.py b/tests/functional/afr/test_heal_fail_1x3.py
index 458203444..596b145a5 100644
--- a/tests/functional/afr/test_heal_fail_1x3.py
+++ b/tests/functional/afr/test_heal_fail_1x3.py
@@ -108,10 +108,10 @@ class TestSelfHeal(GlusterBaseClass):
user=mount_obj.user)
all_mounts_procs.append(proc)
# Validate I/O
- g.log.info("Wait for IO to complete and validate IO.....")
- ret = validate_io_procs(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(all_mounts_procs, self.mounts),
+ "IO failed on some of the clients"
+ )
g.log.info("Successfully created a file from mount point")
# getting list of all bricks
@@ -140,10 +140,10 @@ class TestSelfHeal(GlusterBaseClass):
user=mount_obj.user)
all_mounts_procs.append(proc)
# Validate I/O
- g.log.info("Wait for IO to complete and validate IO.....")
- ret = validate_io_procs(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(all_mounts_procs, self.mounts),
+ "IO failed on some of the clients"
+ )
g.log.info("Successfully created a new file of same name "
"from mount point")