Repository navigation
[release/11.0] Avoid initial HTTP/2 stream-limit retry in queue telemetry test - #138214
Merged
Merged
Conversation
) <!-- --> `TelemetryTest_Http20.EventSource_ConnectionPoolAtMaxConnections_LogsRequestLeftQueue` failed on Windows and Linux ARM64 with four `RequestHeadersStart` events instead of three. Initial server SETTINGS can lower the stream limit while the pool holds a temporary stream reservation, causing the dummy request to retry after its header-start event has already been emitted. Set `InitialHttp2MaxConcurrentStreams` to 1 to match the loopback server from connection creation. This prevents the setup race while preserving every event-count assertion and all protocol coverage. Recent-change causation has not been established. Validation on Windows x64: - `build.cmd clr+libs -rc Release`: passed, 0 warnings/errors. - `dotnet.cmd build src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj -t:Test -p:RuntimeConfiguration=Release -p:OuterLoop=true "-p:XunitMethodName=System.Net.Http.Functional.Tests.TelemetryTest_*.EventSource_ConnectionPoolAtMaxConnections_LogsRequestLeftQueue"`: passed all 3 HTTP/1.1, HTTP/2, and HTTP/3 cases; the same cases passed 20 additional runs (60/60, no skips). - A controlled standalone reproducer against the locally built runtime produced the extra header-start event and an `AddStream` retry with the default limit; matching the initial limit passed 100/100 controlled runs. Linux ARM64 was not run locally. > [!NOTE] > This pull request description and code change were generated with GitHub Copilot. Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 4 pipeline(s). 11 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @karelz, @dotnet/ncl |
lewing
approved these changes
Nov 24, 2026
This was referenced Nov 24, 2026
Member
|
/ba-g Known EC, Android and iOS failures are unrelated to the HTTP telemetry test. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #138128 to release/11.0. Test-only; no product code changes.
/cc @lewing @rzikm
Sets
InitialHttp2MaxConcurrentStreams = 1inEventSource_ConnectionPoolAtMaxConnections_LogsRequestLeftQueueso the server's initial SETTINGS can't lower the stream limit while the pool holds a temporary reservation, which caused a retry and an extraRequestHeadersStartevent that failed the test intermittently.Customer Impact
None; test-only.
Regression
No.
Testing
Clean cherry-pick of test-only changes; PR CI runs the tests.
Risk
Low; test-only.