From b3419881ae2b6737c30e6d2424a3be76f9d6863d Mon Sep 17 00:00:00 2001 From: Nikita Taranov Date: Mon, 9 Dec 2024 15:30:23 +0100 Subject: [PATCH] better --- .../0_stateless/01290_max_execution_speed_distributed.sql | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/queries/0_stateless/01290_max_execution_speed_distributed.sql b/tests/queries/0_stateless/01290_max_execution_speed_distributed.sql index 4ab7c0672e6..8962f15e101 100644 --- a/tests/queries/0_stateless/01290_max_execution_speed_distributed.sql +++ b/tests/queries/0_stateless/01290_max_execution_speed_distributed.sql @@ -1,15 +1,12 @@ -- Tags: distributed -SET max_execution_speed = 1000000; -SET timeout_before_checking_execution_speed = 0; -SET max_block_size = 100; - SET log_queries=1; CREATE TEMPORARY TABLE times (t DateTime); INSERT INTO times SELECT now(); -SELECT count('special query for 01290_max_execution_speed_distributed') FROM remote('127.0.0.{2,3}', numbers(1000000)); +SELECT count('special query for 01290_max_execution_speed_distributed') FROM remote('127.0.0.{2,3}', numbers(1000000)) +SETTINGS max_execution_speed = 1000000, timeout_before_checking_execution_speed = 0, max_block_size = 100; INSERT INTO times SELECT now(); SELECT max(t) - min(t) >= 1 FROM times;