Skip to content

Commit

Permalink
Increase timeout for TestConnected
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardGomezEscandell committed Sep 15, 2023
1 parent 1eb4da6 commit 9bfb02e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9bfb02e

Please sign in to comment.