-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Fix WebSocket test causing assert #117507
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
Conversation
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.
Pull Request Overview
This PR ensures the ConnectAsync_Http11WithRequestVersionOrHigher_Loopback_Success
test only runs on platforms with ALPN support, preventing an assertion failure on platforms without ALPN.
- Replaces
[Fact]
with[ConditionalFact]
checkingPlatformDetection.SupportsAlpn
for the affected test.
/azp run runtime-extra-platforms |
Tagging subscribers to this area: @dotnet/ncl |
Azure Pipelines successfully started running 1 pipeline(s). |
The test is now properly skipped for platforms not supporting ALPN, e.g.:
|
/ba-g test failures are unrelated crashes from runtime-extra-platforms |
Fixes
ConnectAsync_Http11WithRequestVersionOrHigher_Loopback_Success
that usedUseSsl=true
without checking forPlatformDetection.SupportsAlpn
Fixes #117293