We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 501b55e commit 7ae0e20Copy full SHA for 7ae0e20
pkg/envtest/envtest_test.go
@@ -356,14 +356,14 @@ var _ = Describe("Test", func() {
356
})
357
358
Describe("Start", func() {
359
- It("should raise an error", func(done Done) {
+ It("should raise an error on invalid dir when flag is enabled", func(done Done) {
360
env = &Environment{ErrorIfCRDPathMissing: true, CRDDirectoryPaths: []string{invalidDirectory}}
361
_, err := env.Start()
362
Expect(err).To(HaveOccurred())
363
close(done)
364
}, 30)
365
366
- It("should not raise an error", func(done Done) {
+ It("should not raise an error on invalid dir when flag is disabled", func(done Done) {
367
env = &Environment{ErrorIfCRDPathMissing: false, CRDDirectoryPaths: []string{invalidDirectory}}
368
369
Expect(err).NotTo(HaveOccurred())
0 commit comments