Add partial_result_update_duration_ms to stress tests

This commit is contained in:
vdimir 2023-09-12 11:37:33 +00:00
parent 01042f3aaa
commit fff77876f9
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862

View File

@ -59,6 +59,12 @@ def get_options(i: int, upgrade_check: bool) -> str:
client_options.append("implicit_transaction=1")
client_options.append("throw_on_unsupported_query_inside_transaction=0")
if random.random() < 0.1:
client_options.append("allow_experimental_partial_result=1")
client_options.append(
f"partial_result_update_duration_ms={random.randint(10, 1000)}"
)
if client_options:
options.append(" --client-option " + " ".join(client_options))