Merge pull request #67855 from azat/ci/fix-use_query_cache-stressing

Fix query cache randomization in stress tests
This commit is contained in:
Robert Schulze 2024-08-06 17:59:10 +00:00 committed by GitHub
commit 4cdb6db1b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,8 @@ def get_options(i: int, upgrade_check: bool) -> str:
if i > 0 and random.random() < 1 / 3:
client_options.append("use_query_cache=1")
client_options.append("query_cache_nondeterministic_function_handling='ignore'")
client_options.append("query_cache_system_table_handling='ignore'")
if i % 5 == 1:
client_options.append("memory_tracker_fault_probability=0.001")