Skip to content

Commit

Permalink
improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sbueringer committed May 23, 2024
1 parent 2746d6b commit b7b3fb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/vmware/test/controllers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func initManagerAndBuildClient(networkProvider string) (client.Client, context.C
func waitForWebhooks() {
port := testEnv.WebhookInstallOptions.LocalServingPort

klog.V(2).Infof("Waiting for webhook port %d to be open prior to running tests", port)
klog.Infof("Waiting for webhook port %d to be open prior to running tests", port)
timeout := 1 * time.Second
for {
time.Sleep(1 * time.Second)
Expand Down
2 changes: 1 addition & 1 deletion internal/test/helpers/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func InitializeWebhookInEnvironment(e *envtest.Environment, configPath string) {
func (t *TestEnvironment) WaitForWebhooks() {
port := env.WebhookInstallOptions.LocalServingPort

klog.V(2).Infof("Waiting for webhook port %d to be open prior to running tests", port)
klog.Infof("Waiting for webhook port %d to be open prior to running tests", port)
timeout := 1 * time.Second
for {
time.Sleep(1 * time.Second)
Expand Down

0 comments on commit b7b3fb3

Please sign in to comment.