From 97a86453f87f8e731bd3cce6bc525b412bf68cf3 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 29 Jun 2021 07:27:11 -0700 Subject: [PATCH] qa: get mount id before failing fs Otherwise getxattr will hang. Signed-off-by: Patrick Donnelly --- qa/tasks/cephfs/test_client_recovery.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/tasks/cephfs/test_client_recovery.py b/qa/tasks/cephfs/test_client_recovery.py index 3ae208a69925..88c8bb9392f1 100644 --- a/qa/tasks/cephfs/test_client_recovery.py +++ b/qa/tasks/cephfs/test_client_recovery.py @@ -135,9 +135,11 @@ class TestClientRecovery(CephFSTestCase): # ================= # Check that if I stop an MDS and a client goes away, the MDS waits # for the reconnect period - self.fs.fail() mount_a_client_id = self.mount_a.get_global_id() + + self.fs.fail() + self.mount_a.umount_wait(force=True) self.fs.set_joinable() -- 2.47.3