Skip to content

Commit

Permalink
Restore accidentally deleted test code (#270)
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
  • Loading branch information
ncdc committed Jan 11, 2024
1 parent 7e43c32 commit d723acd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/manager/namespace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ var _ = Describe("ConfigureWatchNamespaces", func() {
By("configuring WATCH_NAMESPACE with empty string")
Expect(os.Setenv(WatchNamespaceEnvVar, "")).To(Succeed())

By("configuring WATCH_NAMESPACE with the namespaces of the watched pods")
ConfigureWatchNamespaces(&opts, log)

By("creating the manager")
mgr, err := manager.New(cfg, opts)
Expect(err).ToNot(HaveOccurred())
Expand Down

0 comments on commit d723acd

Please sign in to comment.