From: Rongqi Sun Date: Mon, 15 Apr 2024 11:29:57 +0000 (+0000) Subject: test/osd/TestOSDScrub: free MonClient resource X-Git-Tag: v20.0.0~2149^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b51fa3cac7f2ea6720a39eb3f287f30bbc31fcb4;p=ceph.git test/osd/TestOSDScrub: free MonClient resource 2. free MonClient using Monclient::shutdown Signed-off-by: Rongqi Sun --- diff --git a/src/test/osd/TestOSDScrub.cc b/src/test/osd/TestOSDScrub.cc index 4c6d4cceedf55..28d94ed66da4a 100644 --- a/src/test/osd/TestOSDScrub.cc +++ b/src/test/osd/TestOSDScrub.cc @@ -196,6 +196,7 @@ TEST(TestOSDScrub, scrub_time_permit) { now = utime_t(mktime(&tm), 0); ret = osd->scrub_time_permit(now); ASSERT_FALSE(ret); + mc.shutdown(); } // Local Variables: