From: Patrick Donnelly Date: Thu, 25 Jul 2019 23:01:39 +0000 (-0700) Subject: qa: wait for kernel client death X-Git-Tag: v13.2.7~86^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=85e8f050704e20e201d102233fd41c1a0a189dc9;p=ceph.git qa: wait for kernel client death After sending the reboot command, we need to wait briefly for it to be rebooted so that the kernel client doesn't voluntarily give up its Fb cap. Signed-off-by: Patrick Donnelly (cherry picked from commit 6b83f43ba0a99ad86850974d354b17c3e23877be) --- diff --git a/qa/tasks/cephfs/test_client_recovery.py b/qa/tasks/cephfs/test_client_recovery.py index c70e224714e..6ba8016d113 100644 --- a/qa/tasks/cephfs/test_client_recovery.py +++ b/qa/tasks/cephfs/test_client_recovery.py @@ -277,6 +277,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: # The waiter should get stuck waiting for the capability # held on the MDS by the now-dead client A