summaryrefslogtreecommitdiffstats
path: root/tests/functional/dht
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-07-03 00:45:30 +0300
committerNigel Babu <nigelb@redhat.com>2018-07-17 04:14:01 +0000
commit02dbb7a68f828863e5b71dc15488e665d484ab6e (patch)
tree4ae10586c3f26f9e73a6d533bbd4af88094c6ef5 /tests/functional/dht
parent87f9679588c54c550447acdc8f0cc15626c7d881 (diff)
Shorten all the logs around verify_io_procs
No functional change, just make the tests a bit more readable. It could be moved to a decorator later on, wrapping tests. Change-Id: I484bb8b46907ee8f33dfcf4c960737a21819cd6a Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'tests/functional/dht')
-rw-r--r--tests/functional/dht/test_rebalance_add_brick_command.py2
-rw-r--r--tests/functional/dht/test_rebalance_with_hidden_files.py8
2 files changed, 4 insertions, 6 deletions
diff --git a/tests/functional/dht/test_rebalance_add_brick_command.py b/tests/functional/dht/test_rebalance_add_brick_command.py
index 7b4a39433..17c57843d 100644
--- a/tests/functional/dht/test_rebalance_add_brick_command.py
+++ b/tests/functional/dht/test_rebalance_add_brick_command.py
@@ -159,8 +159,6 @@ class ExerciseAddbrickCommand(GlusterBaseClass):
self.assertTrue(validate_io_procs([proc], [mount_obj]),
'IO Failed on client %s:%s' %
(mount_obj.client_system, mount_obj.mountpoint))
- g.log.info("IO is successful on mount point %s:%s",
- mount_obj.client_system, mount_obj.mountpoint)
g.log.debug("Unmounting mount points")
self.assertTrue(self.unmount_volume(self.mounts),
diff --git a/tests/functional/dht/test_rebalance_with_hidden_files.py b/tests/functional/dht/test_rebalance_with_hidden_files.py
index 6e51f0523..d3357bcfb 100644
--- a/tests/functional/dht/test_rebalance_with_hidden_files.py
+++ b/tests/functional/dht/test_rebalance_with_hidden_files.py
@@ -106,10 +106,10 @@ class RebalanceValidation(GlusterBaseClass):
self.all_mounts_procs.append(proc)
# validate IO
- g.log.info("Validating IO on mounts")
- 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"
+ )
# List all files and dirs created
g.log.info("List all files and directories:")