From d6d3b01a040805fbf05754860ded2a24a7e2a00c Mon Sep 17 00:00:00 2001 From: zhagnlu <1542303831@qq.com> Date: Wed, 3 Apr 2024 15:55:38 +0800 Subject: [PATCH] fix:remove thread pool timeout test because of high load cpu (#31879) #31877 Signed-off-by: luzhang Co-authored-by: luzhang --- internal/core/unittest/test_disk_file_manager_test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/core/unittest/test_disk_file_manager_test.cpp b/internal/core/unittest/test_disk_file_manager_test.cpp index 7fa7a4263e..dcf13d6bae 100644 --- a/internal/core/unittest/test_disk_file_manager_test.cpp +++ b/internal/core/unittest/test_disk_file_manager_test.cpp @@ -176,7 +176,6 @@ TEST_F(DiskAnnFileManagerTest, TestThreadPool) { auto second = double(duration.count()) * chrono::microseconds::period::num / chrono::microseconds::period::den; std::cout << "cost time:" << second << std::endl; - EXPECT_LT(second, 4 * 100); } int @@ -415,4 +414,4 @@ TEST_F(DiskAnnFileManagerTest, CacheOptFieldToDiskSpaceCorrect) { auto res = file_manager->CacheOptFieldToDisk(space, opt_fileds); ASSERT_FALSE(res.empty()); CheckOptFieldCorrectness(res); -} \ No newline at end of file +}