]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/cephfs/test_sessionmap: reap connections immediately 43310/head
authorSage Weil <sage@newdream.net>
Wed, 19 May 2021 19:27:56 +0000 (15:27 -0400)
committerGerald Yang <gerald.yang.tw@gmail.com>
Mon, 27 Sep 2021 07:32:43 +0000 (07:32 +0000)
commit1b0ba97e75368509347dc6be435f4fa4e9bd6f9e
tree488664738e3a899c6f0e8e845ebb2540530648e8
parentc7b27bb9f4286e5673be63c9ddcc1ad594eb944d
qa/tasks/cephfs/test_sessionmap: reap connections immediately

We have to reap connections promptly for this test to work.

This test was broken indirectly by d51d80b3234e17690061f65dc7e1515f4244a5a3,
which moved the counter decrement to reap time instead of mark_down/stop
time.

The reaping is asynchronous, so allow for a delay in the count change.

Fixes: https://tracker.ceph.com/issues/50622
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit c8c5071dcd4b0b788f5e924a678095ce5dc1d7f8)
Signed-off-by: Gerald Yang <gerald.yang.tw@gmail.com>
qa/tasks/cephfs/test_sessionmap.py