Skip to content

Commit

Permalink
ipam-controller: disable metrics and probe endpoints in ipam-controll…
Browse files Browse the repository at this point in the history
…er tests

Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
  • Loading branch information
ykulazhenkov committed Jul 19, 2023
1 parent 40324f6 commit 74f44b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/ipam-controller/app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ var _ = Describe("App", func() {
Expect(app.RunController(logr.NewContext(ctrlCtx, klog.NewKlogr()), cfg, &options.Options{
ConfigMapName: TestConfigMapName,
ConfigMapNamespace: TestNamespace,
MetricsAddr: "0", // disable
ProbeAddr: "0", // disable
})).NotTo(HaveOccurred())
close(controllerStopped)
}()
Expand Down

0 comments on commit 74f44b4

Please sign in to comment.