mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
Fix test
This commit is contained in:
parent
eef5bb0951
commit
26ed5f77ea
@ -600,7 +600,7 @@ TEST_F(FileCacheTest, get)
|
||||
|
||||
std::cerr << "Step 13\n";
|
||||
{
|
||||
/// Test delated cleanup
|
||||
/// Test delayed cleanup
|
||||
|
||||
auto cache = FileCache(settings);
|
||||
cache.initialize();
|
||||
@ -618,11 +618,8 @@ TEST_F(FileCacheTest, get)
|
||||
|
||||
cache.removeAllReleasable();
|
||||
ASSERT_EQ(cache.getUsedCacheSize(), 0);
|
||||
ASSERT_TRUE(fs::exists(key_path));
|
||||
ASSERT_TRUE(!fs::exists(cache.getPathInLocalCache(key, 0, FileSegmentKind::Regular)));
|
||||
|
||||
ASSERT_TRUE(!fs::exists(key_path));
|
||||
ASSERT_TRUE(!fs::exists(fs::path(key_path).parent_path()));
|
||||
ASSERT_TRUE(!fs::exists(cache.getPathInLocalCache(key, 0, FileSegmentKind::Regular)));
|
||||
}
|
||||
|
||||
std::cerr << "Step 14\n";
|
||||
|
@ -1 +1 @@
|
||||
134217728 10000000 33554432 4194304 1 0 0 0 /var/lib/clickhouse/caches/s3_cache/ 100 2 0
|
||||
134217728 10000000 33554432 4194304 1 0 0 0 /var/lib/clickhouse/caches/s3_cache/ 2 0
|
||||
|
Loading…
Reference in New Issue
Block a user