Skip to content

Commit

Permalink
qa: sleep briefly after resetting kclient
Browse files Browse the repository at this point in the history
Continuation of 6b83f43.

Fixes: https://tracker.ceph.com/issues/40999
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 602e5f6)
  • Loading branch information
batrick authored and Prashant D committed Aug 19, 2019
1 parent d32c948 commit 6de2551
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qa/tasks/cephfs/test_client_recovery.py
Expand Up @@ -227,6 +227,9 @@ def test_stale_caps(self):
# 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
Expand Down

0 comments on commit 6de2551

Please sign in to comment.