]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: wait for kernel client death 28825/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 25 Jul 2019 23:01:39 +0000 (16:01 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 26 Jul 2019 22:34:17 +0000 (15:34 -0700)
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 <pdonnell@redhat.com>
qa/tasks/cephfs/test_client_recovery.py

index e4c3ce60691cc06be629dc8adc1810b92cfb8059..7b305c5c3dac71922ed4e4a7087284c3de2ad79f 100644 (file)
@@ -297,6 +297,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