diff --git a/tests/ci/stress.py b/tests/ci/stress.py index 5e151e6c098..953b55dbf63 100755 --- a/tests/ci/stress.py +++ b/tests/ci/stress.py @@ -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")