diff --git a/tests/queries/0_stateless/01289_min_execution_speed_not_too_early.sql b/tests/queries/0_stateless/01289_min_execution_speed_not_too_early.sql index e3a18d0c515..222a85094d0 100644 --- a/tests/queries/0_stateless/01289_min_execution_speed_not_too_early.sql +++ b/tests/queries/0_stateless/01289_min_execution_speed_not_too_early.sql @@ -3,9 +3,11 @@ DROP TABLE IF EXISTS ES; create table ES(A String) Engine=MergeTree order by tuple(); insert into ES select toString(number) from numbers(10000000); -SET max_execution_time = 100, max_execution_speed = 1000000; -SET max_threads = 1; -SET max_block_size = 1000000; +SET max_execution_time = 100, + timeout_before_checking_execution_speed = 100, + max_execution_speed = 1000000, + max_threads = 1, + max_block_size = 1000000; -- Exception about execution speed is not thrown from these queries. SELECT * FROM ES LIMIT 1 format Null;