diff options
Diffstat (limited to 'tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py')
-rw-r--r-- | tests/functional/fuse_subdir/test_fusesubdir_with_replacebrick.py | 4 |
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 33f24174a..f38e9fe3d 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() |