diff --git a/src/Interpreters/Cache/LRUFileCachePriority.cpp b/src/Interpreters/Cache/LRUFileCachePriority.cpp index ee4f0042ae3..5ecea95b1db 100644 --- a/src/Interpreters/Cache/LRUFileCachePriority.cpp +++ b/src/Interpreters/Cache/LRUFileCachePriority.cpp @@ -2,7 +2,6 @@ #include #include #include -#include #include #include diff --git a/tests/integration/test_merge_tree_s3/test.py b/tests/integration/test_merge_tree_s3/test.py index d9ca8fc7c2c..ae54bc71693 100644 --- a/tests/integration/test_merge_tree_s3/test.py +++ b/tests/integration/test_merge_tree_s3/test.py @@ -765,8 +765,10 @@ def test_parallel_cache_loading_on_startup(cluster, node_name): ) assert int(node.query("SELECT count() FROM system.filesystem_cache")) > 0 assert int(node.query("SELECT max(size) FROM system.filesystem_cache")) == 1024 + count = int(node.query("SELECT count() FROM test")) node.restart_clickhouse() + assert node.contains_in_log("Loading filesystem cache with 30 threads") assert int(node.query("SELECT count() FROM system.filesystem_cache")) > 0 assert int(node.query("SELECT max(size) FROM system.filesystem_cache")) == 1024 @@ -779,6 +781,7 @@ def test_parallel_cache_loading_on_startup(cluster, node_name): > 0 ) node.query("SELECT * FROM test FORMAT Null") + assert count == int(node.query("SELECT count() FROM test")) @pytest.mark.parametrize("node_name", ["node"])