FIx clang-tidy

This commit is contained in:
Kseniia Sumarokova 2023-08-12 22:46:11 +04:00 committed by GitHub
parent 6b9329153b
commit 80201f161c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -626,8 +626,7 @@ TEST_F(FileCacheTest, get)
{
/// Test background thread delated cleanup
auto settings2{settings};
auto cache = DB::FileCache(settings2);
auto cache = DB::FileCache(settings);
cache.initialize();
const auto key = cache.createKeyForPath("key10");
const auto key_path = cache.getPathInLocalCache(key);