Randomize query cache settings in stress tests

This commit is contained in:
Robert Schulze 2023-03-22 11:09:30 +00:00
parent c58b860d08
commit b019ed90be
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -43,6 +43,10 @@ def get_options(i, upgrade_check):
client_options.append("join_algorithm='auto'")
client_options.append("max_rows_in_join=1000")
if i % 3 == 1:
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")