From: Venky Shankar Date: Mon, 29 Mar 2021 06:50:34 +0000 (-0400) Subject: test: bump up retries for `test_mirroring_init_failure_with_recovery` test X-Git-Tag: v17.1.0~2352^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6f4201d15f37ec8e0d24d192b03cf2a272fe6b78;p=ceph.git test: bump up retries for `test_mirroring_init_failure_with_recovery` test The test could fail at times since the mirror daemon periodically retries the failed state for a mirror enabled file system. This flips the status reported via asok interface. Fixes: http://tracker.ceph.com/issues/50020 Signed-off-by: Venky Shankar --- diff --git a/qa/tasks/cephfs/test_mirroring.py b/qa/tasks/cephfs/test_mirroring.py index 1627cd0594b3..e2f9b72abf2b 100644 --- a/qa/tasks/cephfs/test_mirroring.py +++ b/qa/tasks/cephfs/test_mirroring.py @@ -751,7 +751,7 @@ class TestMirroring(CephFSTestCase): self.mgr_cluster.mon_manager.raw_cluster_cmd("fs", "mirror", "enable", self.primary_fs_name) # need safe_while since non-failed status pops up as mirroring is restarted # internally in mirror daemon. - with safe_while(sleep=5, tries=10, action='wait for failed state') as proceed: + with safe_while(sleep=5, tries=20, action='wait for failed state') as proceed: while proceed(): try: # verify via asok