path: root/tests/functional/dht
diff options
authorYaniv Kaul <>2018-07-03 00:45:30 +0300
committerNigel Babu <>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 <>
Diffstat (limited to 'tests/functional/dht')
2 files changed, 4 insertions, 6 deletions
diff --git a/tests/functional/dht/ b/tests/functional/dht/
index 7b4a39433..17c57843d 100644
--- a/tests/functional/dht/
+++ b/tests/functional/dht/
@@ -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))
-"IO is successful on mount point %s:%s",
- mount_obj.client_system, mount_obj.mountpoint)
g.log.debug("Unmounting mount points")
diff --git a/tests/functional/dht/ b/tests/functional/dht/
index 6e51f0523..d3357bcfb 100644
--- a/tests/functional/dht/
+++ b/tests/functional/dht/
@@ -106,10 +106,10 @@ class RebalanceValidation(GlusterBaseClass):
# validate IO
-"Validating IO on mounts")
- ret = validate_io_procs(self.all_mounts_procs, self.mounts)
- self.assertTrue(ret, "IO failed on some of the clients")
-"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"List all files and directories:")