mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Update test.py
This commit is contained in:
parent
dad9cba1b7
commit
e49519fb9d
@ -64,14 +64,14 @@ def test_parallel_cache_loading_on_startup(cluster, node_name):
|
||||
node.query("SELECT count() FROM system.filesystem_cache WHERE size > 0")
|
||||
)
|
||||
cache_state = node.query(
|
||||
"SELECT key, size FROM system.filesystem_cache WHERE size > 0"
|
||||
"SELECT key, offset, size FROM system.filesystem_cache ORDER BY key, offset, size WHERE size > 0"
|
||||
)
|
||||
|
||||
node.restart_clickhouse()
|
||||
|
||||
assert cache_count == int(node.query("SELECT count() FROM system.filesystem_cache"))
|
||||
assert cache_state == node.query(
|
||||
"SELECT key, size FROM system.filesystem_cache WHERE size > 0"
|
||||
"SELECT key, offset, size FROM system.filesystem_cache ORDER BY key, offset, size"
|
||||
)
|
||||
|
||||
assert node.contains_in_log("Loading filesystem cache with 30 threads")
|
||||
|
Loading…
Reference in New Issue
Block a user