]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa: Fix test_cephfs_mirror_remote_snap_corrupt_fails_synced_snapshot
authorKotresh HR <khiremat@redhat.com>
Thu, 12 Feb 2026 07:56:28 +0000 (13:26 +0530)
committerKotresh HR <khiremat@redhat.com>
Thu, 12 Feb 2026 17:22:20 +0000 (22:52 +0530)
Fixes: https://tracker.ceph.com/issues/74896
Signed-off-by: Kotresh HR <khiremat@redhat.com>
qa/tasks/cephfs/test_mirroring.py

index 322f40e6327c7c322008a3d44ca9f97e15b30ba3..3708a344776b5b13df98f937830a961b586c11b2 100644 (file)
@@ -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',