mirror of
https://github.com/ceph/ceph
synced 2025-02-25 03:52:04 +00:00
test/osd/TestOSDScrub: free MonClient resource
2. free MonClient using Monclient::shutdown Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
This commit is contained in:
parent
11312d0e59
commit
b51fa3cac7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user