fix tests

This commit is contained in:
“JiaQi 2024-11-27 07:50:05 +08:00
parent fdcf19833f
commit 46cd1fed51
2 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,8 @@ enable_parallel_replicas = 1,
max_threads=1;
-- Check we don't read more mark in parallel replicas
select count(1) from system.query_log where current_database = currentDatabase() AND query LIKE '%read_in_order_with_parallel_replicas%' AND query NOT LIKE '%system%' and read_rows>2;
select sleep(3);
select count(1) from system.query_log where current_database = currentDatabase() AND query LIKE '%SELECT * from read_in_order_with_parallel_replicas%' AND query NOT LIKE '%system%' and read_rows>2;
select count(1) from system.query_log where current_database = currentDatabase() AND query LIKE '%SELECT * from read_in_order_with_parallel_replicas%' AND query NOT LIKE '%system%' and is_initial_query and type=2;
DROP TABLE IF EXISTS read_in_order_with_parallel_replicas;