From: Patrick Donnelly Date: Mon, 14 May 2018 22:19:51 +0000 (-0700) Subject: qa: extend timeout for SessionMap flush X-Git-Tag: v14.0.1~286^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=644a535ee66eaa9fd5e03eda2b2ba09b8a8a1bd9;p=ceph.git qa: extend timeout for SessionMap flush Fixes: https://tracker.ceph.com/issues/24129 Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/cephfs/test_sessionmap.py b/qa/tasks/cephfs/test_sessionmap.py index 8bd7f5c1602d..29dd0ff298b6 100644 --- a/qa/tasks/cephfs/test_sessionmap.py +++ b/qa/tasks/cephfs/test_sessionmap.py @@ -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