diff options
Diffstat (limited to 'tests/functional/afr/test_dist_to_repl_automatic_heal_should_be_triggered.py')
-rwxr-xr-x | tests/functional/afr/test_dist_to_repl_automatic_heal_should_be_triggered.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/functional/afr/test_dist_to_repl_automatic_heal_should_be_triggered.py b/tests/functional/afr/test_dist_to_repl_automatic_heal_should_be_triggered.py index 9aee8aab5..1e9042db2 100755 --- a/tests/functional/afr/test_dist_to_repl_automatic_heal_should_be_triggered.py +++ b/tests/functional/afr/test_dist_to_repl_automatic_heal_should_be_triggered.py @@ -131,11 +131,11 @@ class TestSelfHeal(GlusterBaseClass): self.io_validation_complete = False # 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") + self.assertTrue( + validate_io_procs(self.all_mounts_procs, self.mounts), + "IO failed on some of the clients" + ) self.io_validation_complete = True - g.log.info("IO is successful on all mounts") # Get arequal for mount before adding bricks g.log.info('Getting arequal before adding bricks...') @@ -240,11 +240,11 @@ class TestSelfHeal(GlusterBaseClass): self.io_validation_complete = False # 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") + self.assertTrue( + validate_io_procs(self.all_mounts_procs, self.mounts), + "IO failed on some of the clients" + ) self.io_validation_complete = True - g.log.info("IO is successful on all mounts") # Bring brick 0 online g.log.info('Bringing bricks %s online...', bricks_list[0]) |