From: Patrick Donnelly Date: Tue, 29 Jun 2021 14:27:11 +0000 (-0700) Subject: qa: get mount id before failing fs X-Git-Tag: v16.2.6~151^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d429d33431ef388ffc360b7e504b0a3d8664ccae;p=ceph.git qa: get mount id before failing fs Otherwise getxattr will hang. Signed-off-by: Patrick Donnelly (cherry picked from commit 97a86453f87f8e731bd3cce6bc525b412bf68cf3) --- 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()