summaryrefslogtreecommitdiffstats
path: root/src/test/osd
diff options
context:
space:
mode:
authorRongqi Sun <sunrongqi@huawei.com>2024-04-16 08:02:39 +0200
committerGitHub <noreply@github.com>2024-04-16 08:02:39 +0200
commita7639cb6ce633dabc4d37769d62caacb54582984 (patch)
treeec4dd195b10a07f64e7f57a317bbfea3cf29261d /src/test/osd
parentMerge pull request #56686 from rhcs-dashboard/fix-prometheus-federation--targ... (diff)
parenttest/osd/TestOSDScrub: free MonClient resource (diff)
downloadceph-a7639cb6ce633dabc4d37769d62caacb54582984.tar.xz
ceph-a7639cb6ce633dabc4d37769d62caacb54582984.zip
Merge pull request #56885 from Svelar/asan_OSDScrub
test/osd/TestOSDScrub: free res_ninit/res_nquery and MonClient resource
Diffstat (limited to 'src/test/osd')
-rw-r--r--src/test/osd/TestOSDScrub.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/osd/TestOSDScrub.cc b/src/test/osd/TestOSDScrub.cc
index 4c6d4cceedf..28d94ed66da 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: