mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Merge pull request #61218 from azat/tests/fix-01603_insert_select_too_many_parts
Fix 01603_insert_select_too_many_parts flakiness
This commit is contained in:
commit
a73d8aac0e
@ -3,6 +3,8 @@ CREATE TABLE too_many_parts (x UInt64) ENGINE = MergeTree ORDER BY tuple() SETTI
|
||||
|
||||
SYSTEM STOP MERGES too_many_parts;
|
||||
SET max_block_size = 1, min_insert_block_size_rows = 0, min_insert_block_size_bytes = 0;
|
||||
-- Avoid concurrent parts check to avoid flakiness
|
||||
SET max_threads=1, max_insert_threads=1;
|
||||
|
||||
-- exception is not thrown if threshold is exceeded when multi-block INSERT is already started.
|
||||
INSERT INTO too_many_parts SELECT * FROM numbers(10);
|
||||
|
Loading…
Reference in New Issue
Block a user