From e4473b63652d9cf8480c0f79bda7ca5be845043c Mon Sep 17 00:00:00 2001 From: sunby Date: Fri, 20 Dec 2024 17:09:14 +0800 Subject: [PATCH] fix ut Signed-off-by: sunby --- internal/core/unittest/test_hybrid_index.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/core/unittest/test_hybrid_index.cpp b/internal/core/unittest/test_hybrid_index.cpp index a4a6661c20914..e4f19087ac519 100644 --- a/internal/core/unittest/test_hybrid_index.cpp +++ b/internal/core/unittest/test_hybrid_index.cpp @@ -210,6 +210,7 @@ class HybridIndexTestV1 : public testing::Test { } virtual ~HybridIndexTestV1() override { + this->index_.reset(); boost::filesystem::remove_all(chunk_manager_->GetRootPath()); }