]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: bump up retries for `test_mirroring_init_failure_with_recovery` test 40684/head
authorVenky Shankar <vshankar@redhat.com>
Mon, 29 Mar 2021 06:50:34 +0000 (02:50 -0400)
committersinguliere <singuliere@autistici.org>
Fri, 9 Apr 2021 05:30:32 +0000 (07:30 +0200)
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 <vshankar@redhat.com>
(cherry picked from commit 6f4201d15f37ec8e0d24d192b03cf2a272fe6b78)

qa/tasks/cephfs/test_mirroring.py

index 1627cd0594b399e1a6a1989836a726e7c4e313d2..e2f9b72abf2ba9621dd645668328e8858b499de6 100644 (file)
@@ -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