Skip to content

Commit

Permalink
don't pass churn args for index workload
Browse files Browse the repository at this point in the history
  • Loading branch information
mukrishn committed Aug 21, 2024
1 parent 3c3e47c commit f108fb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f108fb8

Please sign in to comment.