From b1e7847ee873d2791eb54d619bdc95bd4444af98 Mon Sep 17 00:00:00 2001 From: Konstantin Bogdanov Date: Tue, 19 Nov 2024 18:37:44 +0100 Subject: [PATCH] Prototype a test --- .../03275_auto_cluster_functions_with_parallel_replicas.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/03275_auto_cluster_functions_with_parallel_replicas.sql b/tests/queries/0_stateless/03275_auto_cluster_functions_with_parallel_replicas.sql index 3b3649f80d9..8cdbdeb1b9b 100644 --- a/tests/queries/0_stateless/03275_auto_cluster_functions_with_parallel_replicas.sql +++ b/tests/queries/0_stateless/03275_auto_cluster_functions_with_parallel_replicas.sql @@ -12,5 +12,5 @@ SYSTEM FLUSH LOGS; SET enable_parallel_replicas=0; SET max_rows_to_read = 0; -- system.text_log can be really big SELECT count() > 0 FROM system.text_log -WHERE query_id in (select query_id from system.query_log where log_comment like '03275_16cb4bb2-813a-43c2-8956-fa3520454020%') +WHERE query_id in (select query_id from system.query_log where current_database = currentDatabase() and log_comment like '03275_16cb4bb2-813a-43c2-8956-fa3520454020%') AND message LIKE '%Parallel reading from replicas is disabled for cluster%';