Skip to content

Commit 7649623

Browse files
fix: Add retries and fix vm init (runfinch#1184)
Signed-off-by: Shubharanshu Mahapatra <[email protected]>
1 parent c9a0042 commit 7649623

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
- 'deps/**'
1717
- 'finch.yaml.d/**'
1818
- 'winres'
19+
- 'Makefile*'
1920
- '!contrib/hello-finch/**'
2021
pull_request:
2122
branches:
@@ -31,6 +32,7 @@ on:
3132
- 'deps/**'
3233
- 'finch.yaml.d/**'
3334
- 'winres'
35+
- 'Makefile*'
3436
- '!contrib/hello-finch/**'
3537
workflow_dispatch:
3638
permissions:

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,15 @@ test-e2e: test-e2e-vm-serial test-e2e-container
266266

267267
.PHONY: test-e2e-vm-serial
268268
test-e2e-vm-serial:
269-
go test -ldflags $(LDFLAGS) -timeout 2h ./e2e/vm -test.v -ginkgo.v -ginkgo.timeout=2h --installed="$(INSTALLED)"
269+
go test -ldflags $(LDFLAGS) -timeout 2h ./e2e/vm -test.v -ginkgo.v -ginkgo.timeout=2h -ginkgo.flake-attempts=3 --installed="$(INSTALLED)"
270270

271271
.PHONY: test-e2e-container
272272
test-e2e-container:
273-
go test -ldflags $(LDFLAGS) -timeout 2h ./e2e/container -test.v -ginkgo.v -ginkgo.timeout=2h --installed="$(INSTALLED)"
273+
go test -ldflags $(LDFLAGS) -timeout 2h ./e2e/container -test.v -ginkgo.v -ginkgo.timeout=2h -ginkgo.flake-attempts=3 --installed="$(INSTALLED)"
274274

275275
.PHONY: test-e2e-vm
276276
test-e2e-vm:
277-
go test -ldflags $(LDFLAGS) -timeout 2h ./e2e/vm -test.v -ginkgo.v -ginkgo.timeout=2h --installed="$(INSTALLED)" --registry="$(REGISTRY)"
277+
go test -ldflags $(LDFLAGS) -timeout 2h ./e2e/vm -test.v -ginkgo.v -ginkgo.timeout=2h -ginkgo.flake-attempts=3 --installed="$(INSTALLED)" --registry="$(REGISTRY)"
278278

279279
.PHONY: test-benchmark
280280
test-benchmark:

0 commit comments

Comments
 (0)