]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: extend timeout for SessionMap flush 21992/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 14 May 2018 22:19:51 +0000 (15:19 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 12 Sep 2018 19:52:00 +0000 (12:52 -0700)
Fixes: https://tracker.ceph.com/issues/24129
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/cephfs/test_sessionmap.py

index 8bd7f5c1602dfe8e71ee0ef6a600b9198d321a65..29dd0ff298b69704935429723d8b9590262b8dd7 100644 (file)
@@ -145,10 +145,10 @@ class TestSessionMap(CephFSTestCase):
         # a single session get written out (the first of the two, triggered by the second getting marked
         # dirty)
         # The number of writes is two per session, because the header (sessionmap version) update and
-        # KV write both count.
+        # KV write both count. Also, multiply by 2 for each openfile table update.
         self.wait_until_true(
-            lambda: get_omap_wrs() - initial_omap_wrs == 2,
-            timeout=10  # Long enough for an export to get acked
+            lambda: get_omap_wrs() - initial_omap_wrs == 2*2,
+            timeout=30  # Long enough for an export to get acked
         )
 
         # Now end our sessions and check the backing sessionmap is updated correctly