From 9bfb02ea0686e9fc0acd723222b173ac4dffa42c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edu=20G=C3=B3mez=20Escandell?= Date: Fri, 15 Sep 2023 10:26:11 +0200 Subject: [PATCH] Increase timeout for TestConnected --- .../internal/proservices/wslinstance/wslinstance_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows-agent/internal/proservices/wslinstance/wslinstance_test.go b/windows-agent/internal/proservices/wslinstance/wslinstance_test.go index 1b032fbb1..013f402ec 100644 --- a/windows-agent/internal/proservices/wslinstance/wslinstance_test.go +++ b/windows-agent/internal/proservices/wslinstance/wslinstance_test.go @@ -500,7 +500,7 @@ func stopWSLClientOnMatchingStep(wantStopStep, currentStep step, wsl *wslDistroM func checkConnectedStatus(t *testing.T, wantDoneStep step, wantErr bool, currentStep step, srv wrappedService) (continueTest bool) { t.Helper() - connectedErr, stopped := srv.wait(100 * time.Millisecond) + connectedErr, stopped := srv.wait(300 * time.Millisecond) if currentStep != wantDoneStep { require.False(t, stopped, "Connect() function should still be running at step %q but is has now stopped (should stop at step %q)", currentStep, wantDoneStep) return true