From f2f535e114b2d5a08ad0046dedc5d43699aeb1b0 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Thu, 12 Feb 2026 13:26:28 +0530 Subject: [PATCH] qa: Fix test_cephfs_mirror_remote_snap_corrupt_fails_synced_snapshot Fixes: https://tracker.ceph.com/issues/74896 Signed-off-by: Kotresh HR --- qa/tasks/cephfs/test_mirroring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tasks/cephfs/test_mirroring.py b/qa/tasks/cephfs/test_mirroring.py index 322f40e6327..3708a344776 100644 --- a/qa/tasks/cephfs/test_mirroring.py +++ b/qa/tasks/cephfs/test_mirroring.py @@ -1555,7 +1555,7 @@ class TestMirroring(CephFSTestCase): # create a directory in the remote fs and check status 'failed' self.mount_b.run_shell(['sudo', 'mkdir', remote_snap_path], omit_sudo=False) peer_uuid = self.get_peer_uuid(peer_spec) - with safe_while(sleep=1, tries=60, action=f'wait for failed status: {peer_spec}') as proceed: + with safe_while(sleep=2, tries=100, action=f'wait for failed status: {peer_spec}') as proceed: while proceed(): res = self.mirror_daemon_command(f'peer status for fs: {self.primary_fs_name}', 'fs', 'mirror', 'peer', 'status', @@ -1567,7 +1567,7 @@ class TestMirroring(CephFSTestCase): break # remove the directory in the remote fs and check status restores to 'idle' self.mount_b.run_shell(['sudo', 'rmdir', remote_snap_path], omit_sudo=False) - with safe_while(sleep=1, tries=60, action=f'wait for idle status: {peer_spec}') as proceed: + with safe_while(sleep=2, tries=100, action=f'wait for idle status: {peer_spec}') as proceed: while proceed(): res = self.mirror_daemon_command(f'peer status for fs: {self.primary_fs_name}', 'fs', 'mirror', 'peer', 'status', -- 2.47.3