mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Merge pull request #47749 from ClickHouse/rs/randomized-qc-settings
Randomize query cache settings
This commit is contained in:
commit
98b8300496
@ -6,6 +6,7 @@ import os
|
||||
import argparse
|
||||
import logging
|
||||
import time
|
||||
import random
|
||||
|
||||
|
||||
def get_options(i, upgrade_check):
|
||||
@ -43,6 +44,10 @@ def get_options(i, upgrade_check):
|
||||
client_options.append("join_algorithm='auto'")
|
||||
client_options.append("max_rows_in_join=1000")
|
||||
|
||||
if i > 0 and random.random() < 1 / 3:
|
||||
client_options.append("allow_experimental_query_cache=1")
|
||||
client_options.append("use_query_cache=1")
|
||||
|
||||
if i % 5 == 1:
|
||||
client_options.append("memory_tracker_fault_probability=0.001")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user