From 644a535ee66eaa9fd5e03eda2b2ba09b8a8a1bd9 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Mon, 14 May 2018 15:19:51 -0700 Subject: [PATCH] qa: extend timeout for SessionMap flush Fixes: https://tracker.ceph.com/issues/24129 Signed-off-by: Patrick Donnelly --- qa/tasks/cephfs/test_sessionmap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qa/tasks/cephfs/test_sessionmap.py b/qa/tasks/cephfs/test_sessionmap.py index 8bd7f5c1602..29dd0ff298b 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 -- 2.39.5