Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
samirtahir91 committed Apr 1, 2024
1 parent 17969ab commit 608007c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ var _ = BeforeSuite(func() {
fmt.Sprintf("1.28.3-%s-%s", runtime.GOOS, runtime.GOARCH)),
}

// set check interval and expiry threshold for test env
osEnvErr := os.Setenv("CHECK_INTERVAL", "5s")
Expect(osEnvErr).NotTo(HaveOccurred())

osEnvErr = os.Setenv("EXPIRY_THRESHOLD", "15m")
Expect(osEnvErr).NotTo(HaveOccurred())

Expand Down
1 change: 1 addition & 0 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ var _ = Describe("controller", Ordered, func() {
By("installing CRDs")
cmd = exec.Command("make", "install")
_, err = utils.Run(cmd)
ExpectWithOffset(1, err).NotTo(HaveOccurred())

By("deploying the controller-manager")
cmd = exec.Command("make", "deploy", fmt.Sprintf("IMG=%s", projectimage))
Expand Down

0 comments on commit 608007c

Please sign in to comment.