From f108fb8f12fb5b6be4fc9b2728a64f2539e90c53 Mon Sep 17 00:00:00 2001 From: Murali Krishnasamy Date: Wed, 21 Aug 2024 14:02:31 -0400 Subject: [PATCH] don't pass churn args for index workload --- libs/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/utils.py b/libs/utils.py index f074e0a..709aa19 100644 --- a/libs/utils.py +++ b/libs/utils.py @@ -218,7 +218,8 @@ def cluster_load(self, platform, cluster_name, load=""): # Copy executor to the local folder because we shaw in the past that we cannot use kube-burner with multiple executions at the same time shutil.copy2(platform.environment['load']['executor'], my_path) load_env["ITERATIONS"] = str(platform.environment['clusters'][cluster_name]['workers'] * platform.environment['load']['jobs']) - load_env["EXTRA_FLAGS"] = "--churn-duration=" + platform.environment['load']['duration'] + " --churn-percent=10 --churn-delay=30s --timeout=24h" + if load != "index": + load_env["EXTRA_FLAGS"] = "--churn-duration=" + platform.environment['load']['duration'] + " --churn-percent=10 --churn-delay=30s --timeout=24h" # if es_url is not None: # load_env["ES_SERVER"] = es_url load_env["LOG_LEVEL"] = "debug"