From ce9131f905e58b7b523db24d022a69272b25f40e Mon Sep 17 00:00:00 2001 From: kssenii Date: Tue, 29 Mar 2022 19:57:55 +0200 Subject: [PATCH] Fix unit test --- src/Common/tests/gtest_lru_file_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/tests/gtest_lru_file_cache.cpp b/src/Common/tests/gtest_lru_file_cache.cpp index 77f4467fa36..8a45e881487 100644 --- a/src/Common/tests/gtest_lru_file_cache.cpp +++ b/src/Common/tests/gtest_lru_file_cache.cpp @@ -496,7 +496,7 @@ TEST(LRUFileCache, get) /// Test max file segment size auto settings2 = settings; - settings.max_file_segment_size = 10; + settings2.max_file_segment_size = 10; auto cache2 = DB::LRUFileCache(caches_dir / "cache2", settings2); cache2.initialize();