mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
turn on merge tree settings randomization
This commit is contained in:
parent
14a3c7b8cf
commit
97425bb167
@ -119,6 +119,8 @@ function run_tests()
|
||||
ADDITIONAL_OPTIONS+=('--db-engine=Ordinary')
|
||||
fi
|
||||
|
||||
ADDITIONAL_OPTIONS+=("--randomize-merge-tree-settings")
|
||||
|
||||
set +e
|
||||
clickhouse-test --testname --shard --zookeeper --check-zookeeper-session --hung-check --print-time \
|
||||
--test-runs "$NUM_TRIES" "${ADDITIONAL_OPTIONS[@]}" 2>&1 \
|
||||
|
@ -11,6 +11,9 @@ import time
|
||||
def get_options(i, backward_compatibility_check):
|
||||
options = []
|
||||
client_options = []
|
||||
|
||||
options.append("--randomize-merge-tree-settings")
|
||||
|
||||
if 0 < i:
|
||||
options.append("--order=random")
|
||||
|
||||
|
@ -585,6 +585,7 @@ class TestCase:
|
||||
|
||||
return testcase_args
|
||||
|
||||
@staticmethod
|
||||
def cli_format_settings(self, settings_list) -> str:
|
||||
return " ".join([f"--{setting}" for setting in settings_list])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user