Skip to content

Commit b51fa3c

Browse files
committed
test/osd/TestOSDScrub: free MonClient resource
2. free MonClient using Monclient::shutdown Signed-off-by: Rongqi Sun <[email protected]>
1 parent 11312d0 commit b51fa3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/osd/TestOSDScrub.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ TEST(TestOSDScrub, scrub_time_permit) {
196196
now = utime_t(mktime(&tm), 0);
197197
ret = osd->scrub_time_permit(now);
198198
ASSERT_FALSE(ret);
199+
mc.shutdown();
199200
}
200201

201202
// Local Variables:

0 commit comments

Comments
 (0)