Skip to content

Commit

Permalink
Increase the time out for interface checking in windows
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Buil <[email protected]>
  • Loading branch information
manuelbuil committed Jan 18, 2024
1 parent 4c1b5fb commit 16c0819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backend/vxlan/device_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func ensureNetwork(expectedNetwork *hcn.HostComputeNetwork, expectedAddressPrefi
return nil, errors.Wrapf(err, "Failed to parse management ip (%s)", managementIP)
}

waitErr = wait.Poll(500*time.Millisecond, 5*time.Second, func() (done bool, err error) {
waitErr = wait.Poll(2000*time.Millisecond, 20*time.Second, func() (done bool, err error) {
_, lastErr = ip.GetInterfaceByIP(managementIPv4.ToIP())
return lastErr == nil, nil
})
Expand Down

0 comments on commit 16c0819

Please sign in to comment.