diff --git a/pkg/resources/containers/curl.go b/pkg/resources/containers/curl.go index 60f24d20..d8cdd157 100644 --- a/pkg/resources/containers/curl.go +++ b/pkg/resources/containers/curl.go @@ -25,7 +25,7 @@ func NewCurlContainer(hostnames []string, image string, command []string, env [] var parts []string for _, hostname := range hostnames { - parts = append(parts, fmt.Sprintf("curl -X PATCH -H 'Content-Type: application/json' http://%s:6565/v1/status -d '%s'", hostname, req)) + parts = append(parts, fmt.Sprintf("curl --retry 3 -X PATCH -H 'Content-Type: application/json' http://%s:6565/v1/status -d '%s'", hostname, req)) } return corev1.Container{ Name: "k6-curl",