]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: sleep briefly after resetting kclient 29750/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 29 Jul 2019 21:08:17 +0000 (14:08 -0700)
committerPrashant D <pdhange@redhat.com>
Mon, 19 Aug 2019 23:59:14 +0000 (19:59 -0400)
Continuation of 6b83f43ba0a99ad86850974d354b17c3e23877be.

Fixes: https://tracker.ceph.com/issues/40999
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 602e5f6eb4c476816790ba569c407060a21f9abd)

qa/tasks/cephfs/test_client_recovery.py

index 496b2faa1ec241386cd31b454ff92784b1426950..8eb6cc3bb63f9c51383d4c7e6beb4fcfa6eb7a95 100644 (file)
@@ -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