Update test

This commit is contained in:
Alexey Milovidov 2023-04-29 23:28:08 +02:00
parent 582cf2ca84
commit 95caa02cbc
3 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,7 @@ SYSTEM SYNC REPLICA wikistat2;
-- it doesn't make test flaky, rarely we will not delete the parts because of cleanup thread was slow. -- it doesn't make test flaky, rarely we will not delete the parts because of cleanup thread was slow.
-- Such condition will lead to successful queries. -- Such condition will lead to successful queries.
SET function_sleep_max_microseconds_per_block = 5000000;
SELECT 0 FROM numbers(5) WHERE sleepEachRow(1) = 1; SELECT 0 FROM numbers(5) WHERE sleepEachRow(1) = 1;
select sum(hits), count() from wikistat1 GROUP BY project, subproject, path settings allow_experimental_projection_optimization = 1, force_optimize_projection = 1; select sum(hits), count() from wikistat1 GROUP BY project, subproject, path settings allow_experimental_projection_optimization = 1, force_optimize_projection = 1;

View File

@ -4,6 +4,7 @@ insert into buffer_02572 values (1);
select * from data_02572; select * from data_02572;
select * from copy_02572; select * from copy_02572;
-- we cannot use OPTIMIZE, this will attach query context, so let's wait -- we cannot use OPTIMIZE, this will attach query context, so let's wait
SET function_sleep_max_microseconds_per_block = 6000000;
select sleepEachRow(1) from numbers(3*2) format Null; select sleepEachRow(1) from numbers(3*2) format Null;
select * from data_02572; select * from data_02572;
1 1

View File

@ -22,6 +22,7 @@ insert into buffer_02572 values (1);
select * from data_02572; select * from data_02572;
select * from copy_02572; select * from copy_02572;
-- we cannot use OPTIMIZE, this will attach query context, so let's wait -- we cannot use OPTIMIZE, this will attach query context, so let's wait
SET function_sleep_max_microseconds_per_block = 6000000;
select sleepEachRow(1) from numbers(3*2) format Null; select sleepEachRow(1) from numbers(3*2) format Null;
select * from data_02572; select * from data_02572;
select * from copy_02572; select * from copy_02572;