From 619f60b5ac17238d97170b0711babe071f3fcc38 Mon Sep 17 00:00:00 2001 From: kssenii Date: Mon, 14 Oct 2024 10:42:32 +0200 Subject: [PATCH] Fix test --- tests/integration/test_storage_s3/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_storage_s3/test.py b/tests/integration/test_storage_s3/test.py index b2513c900a0..ad1842f4509 100644 --- a/tests/integration/test_storage_s3/test.py +++ b/tests/integration/test_storage_s3/test.py @@ -2428,6 +2428,8 @@ def test_filesystem_cache(started_cluster): ) ) + instance.query("SYSTEM DROP SCHEMA CACHE") + query_id = f"{table_name}-{uuid.uuid4()}" instance.query( f"select * from s3('http://{started_cluster.minio_host}:{started_cluster.minio_port}/{bucket}/{table_name}.tsv') SETTINGS filesystem_cache_name = 'cache1', enable_filesystem_cache=1", @@ -2435,7 +2437,6 @@ def test_filesystem_cache(started_cluster): ) instance.query("SYSTEM FLUSH LOGS") - instance.query("SYSTEM DROP SCHEMA CACHE") assert count * 2 == int( instance.query(