summaryrefslogtreecommitdiffstats
path: root/tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py
diff options
context:
space:
mode:
authorJilju Joy <jijoy@redhat.com>2019-01-23 14:30:00 +0530
committerVijay Avuthu <vavuthu@redhat.com>2019-01-24 06:18:29 +0000
commitd463d26797a0932a53427eca908e6d5dbae58d4b (patch)
tree88b85c3cff9a01aff0617108d5d1ed750c113a87 /tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py
parent30b0188d57d28fe4f4ecc611759807856cafbfac (diff)
Correction in verification of volume/sub_directory unmount
Change-Id: I2abad563b965d67520b8bea6da39b30422d7d028
Diffstat (limited to 'tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py')
-rw-r--r--tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py4
1 files changed, 2 insertions, 2 deletions
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()