From d2153f99c916f97513b3445ad84c73401313ce4b Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Mon, 29 Jul 2019 14:08:17 -0700 Subject: [PATCH] qa: sleep briefly after resetting kclient Continuation of 6b83f43ba0a99ad86850974d354b17c3e23877be. Fixes: https://tracker.ceph.com/issues/40999 Signed-off-by: Patrick Donnelly (cherry picked from commit 602e5f6eb4c476816790ba569c407060a21f9abd) --- qa/tasks/cephfs/test_client_recovery.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qa/tasks/cephfs/test_client_recovery.py b/qa/tasks/cephfs/test_client_recovery.py index 496b2faa1ec24..8eb6cc3bb63f9 100644 --- a/qa/tasks/cephfs/test_client_recovery.py +++ b/qa/tasks/cephfs/test_client_recovery.py @@ -238,6 +238,9 @@ class TestClientRecovery(CephFSTestCase): # Simulate client death self.mount_a.kill() + # wait for it to die so it doesn't voluntarily release buffer cap + time.sleep(5) + try: # Now, after session_timeout seconds, the waiter should # complete their operation when the MDS marks the holder's -- 2.39.5