Skip to content

Commit 703858f

Browse files
authored
Merge pull request #793 from alenkacz/av/install-teardown
🏃 (:running:, other) Bigger teardown timeout for flaky test
2 parents c38f59a + 83924b4 commit 703858f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/envtest/envtest_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ var _ = Describe("Test", func() {
4040
var validDirectory = filepath.Join(".", "testdata")
4141
var invalidDirectory = "fake"
4242

43+
var teardownTimeoutSeconds float64 = 10
44+
4345
// Initialize the client
4446
BeforeEach(func(done Done) {
4547
crds = []runtime.Object{}
@@ -76,7 +78,7 @@ var _ = Describe("Test", func() {
7678
}, 1*time.Second).Should(BeTrue())
7779
}
7880
close(done)
79-
})
81+
}, teardownTimeoutSeconds)
8082

8183
Describe("InstallCRDs", func() {
8284
It("should install the CRDs into the cluster using directory", func(done Done) {

0 commit comments

Comments
 (0)