turn on merge tree settings randomization

This commit is contained in:
Anton Popov 2022-07-13 21:07:12 +00:00
parent 14a3c7b8cf
commit 97425bb167
3 changed files with 6 additions and 0 deletions

View File

@ -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 \

View File

@ -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")

View File

@ -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])