From 16c0819270476bfba3b492d834f08a31aabc62a3 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Wed, 17 Jan 2024 09:02:58 +0100 Subject: [PATCH] Increase the time out for interface checking in windows Signed-off-by: Manuel Buil --- pkg/backend/vxlan/device_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/backend/vxlan/device_windows.go b/pkg/backend/vxlan/device_windows.go index 732e060817..332fca3a3f 100644 --- a/pkg/backend/vxlan/device_windows.go +++ b/pkg/backend/vxlan/device_windows.go @@ -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 })