]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: unmount clients before damaging the fs 57525/head
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 7 May 2024 12:09:46 +0000 (08:09 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 16 May 2024 16:17:16 +0000 (12:17 -0400)
So clients do not try to unmount a damaged fs.

Fixes: https://tracker.ceph.com/issues/65837
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 907722553ca86a1f82d2d0ed4b109b5758c39333)

qa/tasks/cephfs/test_failover.py

index 0a3e0a59c057bdb3d783df10451c78bb9667bfdc..2ce941a968d03254c94f10dc4bdc7b2d3c318886 100644 (file)
@@ -583,6 +583,9 @@ class TestStandbyReplay(CephFSTestCase):
         That a standby-replay daemon can cause the rank to go damaged correctly.
         """
 
+        for mount in self.mounts:
+            mount.umount_wait()
+
         self._confirm_no_replay()
         self.config_set("mds", "mds_standby_replay_damaged", True)
         self.fs.set_allow_standby_replay(True)