mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Better test
This commit is contained in:
parent
aa5eef8408
commit
137ec90a8b
@ -60,7 +60,9 @@ def test_parallel_cache_loading_on_startup(cluster, node_name):
|
||||
assert int(node.query("SELECT max(size) FROM system.filesystem_cache")) == 1024
|
||||
count = int(node.query("SELECT count() FROM test"))
|
||||
|
||||
cache_count = int(node.query("SELECT count() FROM system.filesystem_cache WHERE size > 0"))
|
||||
node.restart_clickhouse()
|
||||
assert cache_count == int(node.query("SELECT count() FROM system.filesystem_cache"))
|
||||
|
||||
assert node.contains_in_log("Loading filesystem cache with 30 threads")
|
||||
assert int(node.query("SELECT count() FROM system.filesystem_cache")) > 0
|
||||
|
Loading…
Reference in New Issue
Block a user