Skip to content

Commit

Permalink
controllers: disable metrics endpoint on tests to prevent flaky resul…
Browse files Browse the repository at this point in the history
…ts due to bind address already in use
  • Loading branch information
chrischdi committed Jul 7, 2023
1 parent 78fbc92 commit 5ea79aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/vmware/test/controllers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ func getManager(cfg *rest.Config, networkProvider string) manager.Manager {
opts.SyncPeriod = &syncPeriod
return cache.New(config, opts)
},
MetricsBindAddress: "0",
},
KubeConfig: cfg,
NetworkProvider: networkProvider,
Expand Down

0 comments on commit 5ea79aa

Please sign in to comment.