summaryrefslogtreecommitdiffstats
path: root/glustolibs-io
diff options
context:
space:
mode:
Diffstat (limited to 'glustolibs-io')
-rwxr-xr-xglustolibs-io/glustolibs/io/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/glustolibs-io/glustolibs/io/utils.py b/glustolibs-io/glustolibs/io/utils.py
index b6e1f62..d6cfe62 100755
--- a/glustolibs-io/glustolibs/io/utils.py
+++ b/glustolibs-io/glustolibs/io/utils.py
@@ -629,6 +629,7 @@ def is_io_procs_fail_with_rofs(self, all_mounts_procs, mounts):
g.log.error("IO Successful on Read-only file system %s:%s",
self.mounts[i].client_system,
self.mounts[i].mountpoint)
+ io_results[proc] = False
ret = all(io_results.values())
return ret, io_results
@@ -693,6 +694,7 @@ def is_io_procs_fail_with_error(self, all_mounts_procs, mounts, mount_type):
g.log.error("IO Successful on not connected mountpoint %s:%s",
self.mounts[i].client_system,
self.mounts[i].mountpoint)
+ io_results[proc] = False
ret = all(io_results.values())
return ret, io_results