]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: Fix test_cephfs_mirror_restart_sync_on_blocklist 67385/head
authorKotresh HR <khiremat@redhat.com>
Wed, 18 Feb 2026 00:35:34 +0000 (06:05 +0530)
committerKotresh HR <khiremat@redhat.com>
Wed, 18 Feb 2026 01:53:22 +0000 (07:23 +0530)
commitef83f0451e0f8b78730600ece21bc72e6ad077a7
tree3c057936c32088cdbb546fa0f3519e6364e43941
parentff26ffc4da2b8747f5c18f8b5d4cdc26b9349f38
qa: Fix test_cephfs_mirror_restart_sync_on_blocklist

With the new retry logic introduced in PR 7305, the sleep
was removed. However, the retry mechanism currently
triggers only for AssertionError, KeyError, and IndexError.

The command can also fail with CommandFailedError, as
observed in the blocklist test case. In this scenario,
FSMirror initialization has not yet started, but the
command is still issued, leading to failure.

Therefore, add CommandFailedError to the list of
retryable exceptions.

Fixes: https://tracker.ceph.com/issues/74998
Signed-off-by: Kotresh HR <khiremat@redhat.com>
qa/tasks/cephfs/test_mirroring.py