Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move NonDisposedSocket_SafeHandlesCollected to a non-parallel test collection #50279

Conversation

antonfirsov
Copy link
Member

Attempt to fix #50068.

The hang/timeout happens in CreateHandlesAsync(clientAsync : true), which means we have trouble creating 100 connected socket pairs asynchronously on the CI machines, while running all the other tests in parallel.

While this might be a sign of a product bug in unlucky case, it's orthogonal to what NonDisposedSocket_SafeHandlesCollected is testing. I recommend to open a separate issue for the CreateHandlesAsync timeout after/if this PR is merged.

/cc @geoffkizer @wfurt

@ghost
Copy link

ghost commented Mar 26, 2021

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

Issue Details

Attempt to fix #50068.

The hang/timeout happens in CreateHandlesAsync(clientAsync : true), which means we have trouble creating 100 connected socket pairs asynchronously on the CI machines, while running all the other tests in parallel.

While this might be a sign of a product bug in unlucky case, it's orthogonal to what NonDisposedSocket_SafeHandlesCollected is testing. I recommend to open a separate issue for the CreateHandlesAsync timeout after/if this PR is merged.

/cc @geoffkizer @wfurt

Author: antonfirsov
Assignees: -
Labels:

area-System.Net.Sockets

Milestone: -

@stephentoub stephentoub merged commit 0b38ef1 into dotnet:main Mar 26, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Apr 25, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 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.

NonDisposedSocket_SafeHandlesCollected timed out after 900 seconds and was killed
3 participants