]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/cephfs/test_sessionmap: reap connections immediately 42936/head
authorSage Weil <sage@newdream.net>
Wed, 19 May 2021 19:27:56 +0000 (15:27 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 26 Aug 2021 16:26:21 +0000 (12:26 -0400)
commit3bcc7162906441ee6fc2ba396b000f02aa8fc597
treec72c6267c8fe4b40fb6465464bca0670747dfcba
parentafbe64650dcdca5ce8ce13988efb0fcf2e75ac89
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)
qa/tasks/cephfs/test_sessionmap.py