From 8cf2ce0db634c99e663f8794a7f0bb632ee19ef3 Mon Sep 17 00:00:00 2001 From: Chris Snell Date: Wed, 30 Oct 2024 10:16:48 -0600 Subject: [PATCH] fix: fix broken test --- pkg/resources/jobs/runner_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/resources/jobs/runner_test.go b/pkg/resources/jobs/runner_test.go index c41350ce..48809808 100644 --- a/pkg/resources/jobs/runner_test.go +++ b/pkg/resources/jobs/runner_test.go @@ -1172,7 +1172,7 @@ func TestNewRunnerJobLocalFile(t *testing.T) { Image: "ghcr.io/grafana/k6-operator:latest-runner", ImagePullPolicy: "", Name: "k6", - Command: []string{"sh", "-c", "if [ ! -f /test/test.js ]; then echo \"LocalFile not found exiting...\"; exit 1; fi;\nk6 run --quiet /test/test.js --address=0.0.0.0:6565 --paused --tag instance_id=1 --tag job_name=test-1"}, + Command: []string{"sh", "-c", "if [ ! -f /test/test.js ]; then echo \"LocalFile not found exiting...\"; exit 1; fi;\nk6 run --quiet /test/test.js --address=0.0.0.0:6565 --paused --tag instance_id=1 --tag job_name=test-1 --tag base_job_name=test"}, Env: []corev1.EnvVar{}, Resources: corev1.ResourceRequirements{}, VolumeMounts: script.VolumeMount(),