From 0bd95f72a26fc416d67c512209303b4661e6a9bc Mon Sep 17 00:00:00 2001 From: John Spray Date: Mon, 7 Nov 2016 13:58:53 +0000 Subject: [PATCH] tasks/cephfs: fix unmount call in volumeclient test Should have been to umount_wait, not umount (i.e. the blocking foreground version). This happened to matter because umount_wait is more tolerant of being called if the client is not already mounted. Signed-off-by: John Spray --- tasks/cephfs/test_volume_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/cephfs/test_volume_client.py b/tasks/cephfs/test_volume_client.py index 101acf50853b3..67b91cba7883a 100644 --- a/tasks/cephfs/test_volume_client.py +++ b/tasks/cephfs/test_volume_client.py @@ -178,7 +178,7 @@ vc.disconnect() # I'm going to use mount_c later as a guest for mounting the created # shares - self.mounts[2].umount() + self.mounts[2].umount_wait() # I'm going to leave mount_b unmounted and just use it as a handle for # driving volumeclient. It's a little hacky but we don't have a more -- 2.39.5