From: Patrick Donnelly Date: Mon, 29 Jul 2019 21:08:17 +0000 (-0700) Subject: qa: sleep briefly after resetting kclient X-Git-Tag: v13.2.7~97^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6de25515b36c81ef72f23d37783d8e12905d1ad6;p=ceph.git 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) --- diff --git a/qa/tasks/cephfs/test_client_recovery.py b/qa/tasks/cephfs/test_client_recovery.py index c70e224714ed..2c8364f630fe 100644 --- a/qa/tasks/cephfs/test_client_recovery.py +++ b/qa/tasks/cephfs/test_client_recovery.py @@ -227,6 +227,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