Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumEnigmaa committed Sep 28, 2023
1 parent 61df9ae commit 501609d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/controller/controller_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ var _ = BeforeSuite(func() {
// Cleanup the test environment once the test suite is finished
var _ = AfterSuite(func() {
By("tearing down the test environment")
if testEnv == nil {
return
}
err := testEnv.Stop()
Expect(err).NotTo(HaveOccurred())
})
Expand Down

0 comments on commit 501609d

Please sign in to comment.