Skip to content

Commit 654ec4c

Browse files
authored
Fix flaky metrics e2e test by adding curl retries (#115)
1 parent 747c19b commit 654ec4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ var _ = Describe("Manager", func() {
157157
"name": "curl",
158158
"image": "curlimages/curl:latest",
159159
"command": ["/bin/sh", "-c"],
160-
"args": ["curl -v %s.%s.svc.cluster.local:%s/metrics"],
160+
"args": ["curl -v --retry 10 --retry-delay 5 --retry-connrefused %s.%s.svc.cluster.local:%s/metrics"],
161161
"securityContext": {
162162
"allowPrivilegeEscalation": false,
163163
"capabilities": {

0 commit comments

Comments
 (0)