]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: get mount id before failing fs
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 29 Jun 2021 14:27:11 +0000 (07:27 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 2 Jul 2021 23:15:23 +0000 (16:15 -0700)
Otherwise getxattr will hang.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 97a86453f87f8e731bd3cce6bc525b412bf68cf3)

qa/tasks/cephfs/test_client_recovery.py

index 3ae208a69925b6706c7cee264238af471dd6b321..88c8bb9392f10e06230f16f8d48e75c5610cad98 100644 (file)
@@ -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()