-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fix Connect_DualMode_DnsConnect_RetrievedEndPoints_Success on Linux #54681
Fix Connect_DualMode_DnsConnect_RetrievedEndPoints_Success on Linux #54681
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue Details50 failures in ~20 days. See #54677 (comment). /cc @tmds
|
@@ -109,6 +109,7 @@ public async Task Connect_DualMode_MultiAddressFamilyConnect_RetrievedEndPoints_ | |||
} | |||
|
|||
[Fact] | |||
[ActiveIssue("https://github.com/dotnet/runtime/issues/54677", TestPlatforms.Linux)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antonfirsov can you update the test so both IPAddress.Loopback.MapToIPv6()
and IPAddress.IPv6Loopback
are allowed for localEndPoint.Address
?
I expect for remoteEndPoint.Address
we should stick to IPAddress.Loopback.MapToIPv6()
only because the test server is bound to IPAddress.Loopback
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. I overlooked the exception message, and for some reason thought LocalEndPoint was IPv4, not ::1
.
Makes sense to fix the test instead of disabling.
I updated this to fix #54677, instead of disabling, let's wait for CI before merging. |
/azp run runtime |
Azure Pipelines successfully started running 1 pipeline(s). |
@stephentoub this looks related to your change:
|
@danmoseley, that's #54713 |
@stephentoub thanks, I pasted in the wrong output. |
src/libraries/System.Net.Sockets/tests/FunctionalTests/Connect.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Tom Deseyn <tom.deseyn@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
50 failures in ~20 days. See #54677 (comment).
/cc @tmds
Fixes #54677