summaryrefslogtreecommitdiffstats
path: root/tests/functional/arbiter/test_resolving_meta_data_split_brain_extended_attributes.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/arbiter/test_resolving_meta_data_split_brain_extended_attributes.py')
-rw-r--r--tests/functional/arbiter/test_resolving_meta_data_split_brain_extended_attributes.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/functional/arbiter/test_resolving_meta_data_split_brain_extended_attributes.py b/tests/functional/arbiter/test_resolving_meta_data_split_brain_extended_attributes.py
index e6f68c0cf..0e9f945c2 100644
--- a/tests/functional/arbiter/test_resolving_meta_data_split_brain_extended_attributes.py
+++ b/tests/functional/arbiter/test_resolving_meta_data_split_brain_extended_attributes.py
@@ -127,11 +127,11 @@ class TestArbiterSelfHeal(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 bricks with file
g.log.info('Getting bricks with file...')
@@ -176,11 +176,11 @@ class TestArbiterSelfHeal(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 arbiter brick online
g.log.info('Bringing bricks %s online...', bricks_to_bring_offline)
@@ -222,11 +222,11 @@ class TestArbiterSelfHeal(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 1-st data brick online
g.log.info('Bringing bricks %s online...', bricks_to_bring_offline)