From 52b9f4797745d50d4b059d95cf2f89fe59e88533 Mon Sep 17 00:00:00 2001 From: Igor Nikonov Date: Tue, 3 Sep 2024 14:15:02 +0000 Subject: [PATCH] Fix flaky 00157_cache_dictionary + disable paralell replicas on insert to avoid hitting `max_estimated_execution_time` setting --- tests/queries/1_stateful/00157_cache_dictionary.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/queries/1_stateful/00157_cache_dictionary.sql b/tests/queries/1_stateful/00157_cache_dictionary.sql index f1bee538828d..49e15cd07d8a 100644 --- a/tests/queries/1_stateful/00157_cache_dictionary.sql +++ b/tests/queries/1_stateful/00157_cache_dictionary.sql @@ -10,7 +10,7 @@ SAMPLE BY intHash32(UserID) SETTINGS storage_policy = 'default'; INSERT INTO test.hits_1m SELECT * FROM test.hits LIMIT 1000000 - SETTINGS min_insert_block_size_rows = 0, min_insert_block_size_bytes = 0, max_block_size = 8192, max_insert_threads = 1, max_threads = 1; +SETTINGS min_insert_block_size_rows = 0, min_insert_block_size_bytes = 0, max_block_size = 8192, max_insert_threads = 1, max_threads = 1, max_parallel_replicas=1; CREATE DATABASE IF NOT EXISTS db_dict; DROP DICTIONARY IF EXISTS db_dict.cache_hits;