summaryrefslogtreecommitdiffstats
path: root/tests/functional/fuse_subdir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/fuse_subdir')
-rw-r--r--tests/functional/fuse_subdir/test_fusesubdir_with_addbrick.py4
-rw-r--r--tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py4
-rw-r--r--tests/functional/fuse_subdir/test_quota_limits_fusesubdir_.py4
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/functional/fuse_subdir/test_fusesubdir_with_addbrick.py b/tests/functional/fuse_subdir/test_fusesubdir_with_addbrick.py
index fbce954..82312c0 100644
--- a/tests/functional/fuse_subdir/test_fusesubdir_with_addbrick.py
+++ b/tests/functional/fuse_subdir/test_fusesubdir_with_addbrick.py
@@ -219,10 +219,10 @@ class SubdirWithAddBrick(GlusterBaseClass):
# Unmount sub-directories from client
# Test needs to continue if unmount fail.Not asserting here.
ret = self.unmount_volume(self.subdir_mounts)
- if ret == 0:
+ if ret:
g.log.info("Successfully unmounted all the subdirectories")
else:
- g.log.error(ret, "Failed to unmount sub-directories")
+ g.log.error("Failed to unmount sub-directories")
# cleanup-volume
ret = self.cleanup_volume()
diff --git a/tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py b/tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py
index 33f2417..f38e9fe 100644
--- a/tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py
+++ b/tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py
@@ -215,10 +215,10 @@ class SubdirWithReplaceBrick(GlusterBaseClass):
# Unmount the sub-directories
# Test needs to continue if unmount fail.Not asserting here.
ret = self.unmount_volume(self.subdir_mounts)
- if ret == 0:
+ if ret:
g.log.info("Successfully unmounted all the subdirectories")
else:
- g.log.error(ret, "Failed to unmount sub-directories")
+ g.log.error("Failed to unmount sub-directories")
# cleanup-volume
ret = self.cleanup_volume()
diff --git a/tests/functional/fuse_subdir/test_quota_limits_fusesubdir_.py b/tests/functional/fuse_subdir/test_quota_limits_fusesubdir_.py
index b8b9206..69daa8a 100644
--- a/tests/functional/fuse_subdir/test_quota_limits_fusesubdir_.py
+++ b/tests/functional/fuse_subdir/test_quota_limits_fusesubdir_.py
@@ -265,10 +265,10 @@ class FuseSubdirQuotaTest(GlusterBaseClass):
# Unmount sub-directories from client
# Test needs to continue if unmount fail.Not asserting here.
ret = self.unmount_volume(self.subdir_mounts)
- if ret == 0:
+ if ret:
g.log.info("Successfully unmounted all the subdirectories")
else:
- g.log.error(ret, "Failed to unmount sub-directories")
+ g.log.error("Failed to unmount sub-directories")
# cleanup-volume
ret = self.cleanup_volume()