From e49519fb9d850bb51a3aa628e7e8620253f5b21a Mon Sep 17 00:00:00 2001 From: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com> Date: Fri, 11 Aug 2023 12:40:00 +0200 Subject: [PATCH] Update test.py --- tests/integration/test_filesystem_cache/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_filesystem_cache/test.py b/tests/integration/test_filesystem_cache/test.py index 15da3353dcc..2792655445d 100644 --- a/tests/integration/test_filesystem_cache/test.py +++ b/tests/integration/test_filesystem_cache/test.py @@ -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")