Skip to content

Define timeout for CreateSocket.Ctor_SafeHandle_Listening_Success - #56717

Merged
antonfirsov merged 2 commits into
dotnet:mainfrom
antonfirsov:sockets_Ctor_SafeHandle_Listening_Success
Aug 6, 2021
Merged

antonfirsov merged 2 commits into
dotnet:mainfrom
antonfirsov:sockets_Ctor_SafeHandle_Listening_Success

Conversation

@antonfirsov

Copy link
Copy Markdown
Contributor

Contributes to #56666. The test uses sync API-s which I didn't want to change so I wrapped the code with Task.Run(...).WaitAsync(...).

@ghost

ghost commented Aug 2, 2021

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Contributes to #56666. The test uses sync API-s which I didn't want to change so I wrapped the code with Task.Run(...).WaitAsync(...).

Author: antonfirsov
Assignees: -
Labels:

area-System.Net.Sockets

Milestone: -

}
}
}
}).WaitAsync(TimeSpan.FromSeconds(30));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}).WaitAsync(TimeSpan.FromSeconds(30));
}).WaitAsync(TestSettings.PassingTestTimeout);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was afraid that PassingTestTimeout=10sec might be too strict on slow CI machines, but let's see where it goes :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh.. I didn't realize it was 10 seconds here since Http tests are using 1 minute

@antonfirsov
antonfirsov merged commit ebc0f05 into dotnet:main Aug 6, 2021
@karelz karelz added this to the 6.0.0 milestone Aug 17, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants