Skip to content

Commit

Permalink
Merge pull request #28613 from batrick/i40220
Browse files Browse the repository at this point in the history
nautilus: tests: cephfs: TestMisc.test_evict_client fails

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
  • Loading branch information
yuriw committed Jun 19, 2019
2 parents 40427f9 + f208559 commit dc1439a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qa/tasks/cephfs/test_misc.py
Expand Up @@ -123,13 +123,16 @@ def test_evict_client(self):
ls_data = self.fs.mds_asok(['session', 'ls'])
self.assert_session_count(1, ls_data)

mount_a_client_id = self.mount_a.get_global_id()
self.mount_a.kill()
self.mount_a.kill_cleanup()

time.sleep(session_autoclose * 1.5)
ls_data = self.fs.mds_asok(['session', 'ls'])
self.assert_session_count(1, ls_data)

self.fs.mds_asok(['session', 'evict', "%s" % mount_a_client_id])

self.mount_a.mount()
self.mount_a.wait_until_mounted()
self.mount_b.mount()
Expand Down

0 comments on commit dc1439a

Please sign in to comment.