From: Patrick Donnelly Date: Tue, 7 May 2024 12:09:46 +0000 (-0400) Subject: qa: unmount clients before damaging the fs X-Git-Tag: testing/wip-lusov-testing-20240611.123850-squid^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=915b11f48e10a6aa6414ff89e7339bf753b8bf75;p=ceph-ci.git qa: unmount clients before damaging the fs So clients do not try to unmount a damaged fs. Fixes: https://tracker.ceph.com/issues/65837 Signed-off-by: Patrick Donnelly (cherry picked from commit 907722553ca86a1f82d2d0ed4b109b5758c39333) --- diff --git a/qa/tasks/cephfs/test_failover.py b/qa/tasks/cephfs/test_failover.py index 0a3e0a59c05..2ce941a968d 100644 --- a/qa/tasks/cephfs/test_failover.py +++ b/qa/tasks/cephfs/test_failover.py @@ -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)