Skip to content

fix connect test extension #102668

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

Merged
merged 1 commit into from
May 28, 2024
Merged

fix connect test extension #102668

merged 1 commit into from
May 28, 2024

Conversation

wfurt
Copy link
Member

@wfurt wfurt commented May 24, 2024

fixes #102650

It seems like the condition was swapped. socket.ConnectAsync(saea) returned false when operation finished synchronously. So we need to wait if true.

@wfurt wfurt requested a review from a team May 24, 2024 17:36
@wfurt wfurt self-assigned this May 24, 2024
@wfurt wfurt added the test-bug Problem in test source code (most likely) label May 24, 2024
Copy link
Contributor

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

@wfurt wfurt merged commit 03bc51f into dotnet:main May 28, 2024
@wfurt wfurt deleted the saea branch May 28, 2024 05:34
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this pull request May 30, 2024
@karelz karelz added this to the 9.0.0 milestone Jun 24, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Sockets test-bug Problem in test source code (most likely)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Test Failure] System.Net.Sockets.Tests.SocketAsyncEventArgsTest.Connect_WithData_OK
3 participants