diff --git a/resilience-bench/operator/src/main/java/io/resiliencebench/execution/k6/K6LoadGeneratorStep.java b/resilience-bench/operator/src/main/java/io/resiliencebench/execution/k6/K6LoadGeneratorStep.java index 8d8f735..8804caa 100644 --- a/resilience-bench/operator/src/main/java/io/resiliencebench/execution/k6/K6LoadGeneratorStep.java +++ b/resilience-bench/operator/src/main/java/io/resiliencebench/execution/k6/K6LoadGeneratorStep.java @@ -45,11 +45,11 @@ public ObjectMeta createMeta(Scenario scenario, Workload workload) { } public List createCommand(Scenario scenario, ScenarioWorkload scenarioWorkload, Workload workload) { + // TODO: add support for cloud and local outputs return Arrays.asList( "k6", "run", "/scripts/k6.js", // "--out", String.format("json=/results/%s.json", scenario.getMetadata().getName()), "--out", "cloud", - "--token", System.getenv("K6_CLOUD_TOKEN"), "--vus", String.valueOf(scenarioWorkload.getUsers()), "--tag", "workloadName=" + workload.getMetadata().getName(), "--duration", workload.getSpec().getDuration() + "s"