mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 12:52:37 +00:00
Merge remote-tracking branch 'ClickHouse/master' into revert-72690-add_totalbytes_of_inactive_parts
This commit is contained in:
commit
e8c2c5ec47
@ -1,3 +1,3 @@
|
|||||||
2000000
|
200000
|
||||||
1
|
1
|
||||||
1
|
1
|
||||||
|
@ -1,15 +1,12 @@
|
|||||||
-- Tags: distributed
|
-- Tags: distributed
|
||||||
|
|
||||||
SET max_execution_speed = 1000000;
|
|
||||||
SET timeout_before_checking_execution_speed = 0;
|
|
||||||
SET max_block_size = 100;
|
|
||||||
|
|
||||||
SET log_queries=1;
|
SET log_queries=1;
|
||||||
|
|
||||||
CREATE TEMPORARY TABLE times (t DateTime);
|
CREATE TEMPORARY TABLE times (t DateTime);
|
||||||
|
|
||||||
INSERT INTO times SELECT now();
|
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(100000))
|
||||||
|
SETTINGS max_execution_speed = 100000, timeout_before_checking_execution_speed = 0, max_block_size = 100;
|
||||||
INSERT INTO times SELECT now();
|
INSERT INTO times SELECT now();
|
||||||
|
|
||||||
SELECT max(t) - min(t) >= 1 FROM times;
|
SELECT max(t) - min(t) >= 1 FROM times;
|
||||||
@ -21,6 +18,7 @@ FROM system.query_log
|
|||||||
WHERE
|
WHERE
|
||||||
current_database = currentDatabase() AND
|
current_database = currentDatabase() AND
|
||||||
event_date >= yesterday() AND
|
event_date >= yesterday() AND
|
||||||
|
event_time >= now() - INTERVAL '5 MINUTES' AND -- time limit for tests not marked `long` is 3 minutes, 5 should be more than enough
|
||||||
query LIKE '%special query for 01290_max_execution_speed_distributed%' AND
|
query LIKE '%special query for 01290_max_execution_speed_distributed%' AND
|
||||||
query NOT LIKE '%system.query_log%' AND
|
query NOT LIKE '%system.query_log%' AND
|
||||||
type = 2;
|
type = 2;
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Tags: no-fasttest, long
|
# Tags: no-fasttest, long, no-s3-storage
|
||||||
|
# ^ no-s3-storage: too slow
|
||||||
|
|
||||||
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||||
# shellcheck source=../shell_config.sh
|
# shellcheck source=../shell_config.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user