-
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
[release/6.0] add Http3LoopbackConnection.ShutdownAsync and use in AcceptConnectionAsync #58336
Conversation
…TaskCanceledQuickly test
…HandlerTest.Finalization.cs
Tagging subscribers to this area: @dotnet/ncl Issue DetailsBackport of #58088 to release/6.0 /cc @geoffkizer Customer ImpactTestingRisk
|
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Triage: We want to add re-enabled tests to this PR to improve our ability of servicing 6.0. |
cc @danmoseley |
Approved. Valuable test only changes. |
@josalem BasicEventSourceTests.TestsManifestGeneration.Test_EventSource_EtwManifestGenerationRollover hung in coreclr windows x86 . |
I'm not actually familiar with this test. Looking at the failing test code, I would expect this to be making progress, so we can try to queue up a change as you suggested. |
Sounds good. it will log a complaint if 50% of the timeout is exhausted, which can suggest if the timeout is excessive (if it typically passes without the complaint, then it can probably be reduced). If you crank it up and do'nt see the warning, it can probably go down again some. |
I'm pushing cherry picked changes from these 7.0 issues: is:issue is:closed project:dotnet/runtime/2 label:disabled-test sort:updated-desc milestone:7.0.0 The changes are only re-enabling disabled tests to improve our test coverage in 6.0 branch. @CarnaViire @wfurt @geoffkizer if I overlooked some PRs (re-enabling tests) that should go with this as well let me know. @danmoseley does your approval still stand after we've added these tests? cc @karelz |
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Thanks @ManickaP -- FYI @danmoseley this is what we planned to add to the PR before submitting it for approval - see my comment above #58336 (comment). |
Test failures:
Rerunning failed legs. |
Re-run test failures:
Rerunning again |
Re-run no.2 test failures:
|
Triage: Given the unexpected instability the test-only improvement PR brings on the one test above, we do not think it is worth putting it into 6.0. It would allows us to re-enable only 3 disabled tests, so no super-large value for 6.0. |
Note: 1 of the failures was actually on MsQuic variant of the test - see #58336 (comment). |
Backport of #58088 to release/6.0
Contributes to #57779
Test-only fixes. Should allow re-enabling a bunch of disabled tests (not part of this change).
Add a ShutdownAsync method on the HTTP3 loopback connection. This will send a GOAWAY frame to the client and wait for the client to close the connection gracefully. It will also eat connection abort exceptions if the client already has closed the connection.
Use this method in AcceptConnectionAsync, after the user's connection handling code has finished. The intent here is to avoid the kind of data loss seen in #57779. and avoid HTTP3-specific one-offs to reenable tests as in #58041.
@danmoseley
/cc @geoffkizer
Customer Impact
Testing
Risk
Low.