From 70595965068404d3eac3c4a5e9feb58ab06e7e7a Mon Sep 17 00:00:00 2001 From: "m.malygina" Date: Mon, 21 Aug 2023 14:55:27 +0300 Subject: [PATCH] Support prepare locally flag Signed-off-by: m.malygina --- src/frostfs_testlib/load/load_config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frostfs_testlib/load/load_config.py b/src/frostfs_testlib/load/load_config.py index ec5d3fd..3a7e0b4 100644 --- a/src/frostfs_testlib/load/load_config.py +++ b/src/frostfs_testlib/load/load_config.py @@ -178,6 +178,10 @@ class LoadParams: min_iteration_duration: Optional[str] = metadata_field( all_load_scenarios, None, "K6_MIN_ITERATION_DURATION", False ) + # Prepare/cut objects locally on client before sending + prepare_locally: Optional[bool] = metadata_field( + [LoadScenario.gRPC, LoadScenario.gRPC_CAR], None, "PREPARE_LOCALLY", False + ) # Specifies K6 setupTimeout time. Currently hardcoded in xk6 as 5 seconds for all scenarios # https://k6.io/docs/using-k6/k6-options/reference/#setup-timeout setup_timeout: Optional[str] = metadata_field(all_scenarios, None, "K6_SETUP_TIMEOUT", False)