Skip to content

Commit

Permalink
Merge pull request #2780 from lizardruss/flake_attempts
Browse files Browse the repository at this point in the history
test: add flake attempts and fail-fast for e2e tests
  • Loading branch information
FabianKramm authored Jan 4, 2024
2 parents 8de3277 + 4f80940 commit 9efaed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ jobs:
- name: e2e test
working-directory: ./e2e
run: |
go test -v -ginkgo.v -timeout 3600s
go test -v -ginkgo.v -ginkgo.fail-fast -timeout 3600s
2 changes: 1 addition & 1 deletion e2e/tests/ssh/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ var _ = DevSpaceDescribe("ssh", func() {
framework.ExpectNoError(err)
})

ginkgo.It("devspace dev should NOT start an SSH service when disabled with a variable", func(ctx context.Context) {
ginkgo.It("devspace dev should NOT start an SSH service when disabled with a variable", ginkgo.FlakeAttempts(3), func(ctx context.Context) {
tempDir, err := framework.CopyToTempDir("tests/ssh/testdata/ssh-variable")
framework.ExpectNoError(err)
ginkgo.DeferCleanup(framework.CleanupTempDir, initialDir, tempDir)
Expand Down

0 comments on commit 9efaed4

Please sign in to comment.