]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: extend timeout for SessionMap flush 24438/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 14 May 2018 22:19:51 +0000 (15:19 -0700)
committerPrashant D <pdhange@redhat.com>
Thu, 4 Oct 2018 23:33:21 +0000 (19:33 -0400)
Fixes: https://tracker.ceph.com/issues/24129
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 644a535ee66eaa9fd5e03eda2b2ba09b8a8a1bd9)

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