From 6f4201d15f37ec8e0d24d192b03cf2a272fe6b78 Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Mon, 29 Mar 2021 02:50:34 -0400 Subject: [PATCH] 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 --- qa/tasks/cephfs/test_mirroring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/cephfs/test_mirroring.py b/qa/tasks/cephfs/test_mirroring.py index 1627cd0594b..e2f9b72abf2 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 -- 2.39.5