Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Delete test namespace once to avoid races
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Schlicht committed Apr 30, 2020
1 parent 01792b0 commit 631d2a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ go 1.13
require (
github.com/aws/aws-sdk-go v1.29.14
github.com/imdario/mergo v0.3.8 // indirect
github.com/kudobuilder/kudo v0.11.1
github.com/kudobuilder/test-tools v0.4.0
github.com/onsi/ginkgo v1.11.0
github.com/onsi/gomega v1.8.1
Expand Down
4 changes: 3 additions & 1 deletion tests/suites/fault-tolerance/fault_tolerance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,10 @@ var _ = AfterEach(func() {
Expect(err).NotTo(HaveOccurred())

deleteRBAC(client)
})

err = kubernetes.DeleteNamespace(client, testNamespace)
var _ = AfterSuite(func() {
err := kubernetes.DeleteNamespace(client, testNamespace)
Expect(err).NotTo(HaveOccurred())
})

Expand Down

0 comments on commit 631d2a2

Please sign in to comment.