Skip to content

[HTTP] Re-enable GetAsync_CancelDuringResponseBodyReceived_Buffered test#124594

Open
ManickaP wants to merge 1 commit intodotnet:mainfrom
ManickaP:fix/reenable-25760-cancel-timing
Open

[HTTP] Re-enable GetAsync_CancelDuringResponseBodyReceived_Buffered test#124594
ManickaP wants to merge 1 commit intodotnet:mainfrom
ManickaP:fix/reenable-25760-cancel-timing

Conversation

@ManickaP
Copy link
Member

Remove the ActiveIssue attribute disabling this cancellation test. The original failure was a timing assertion where elapsed time (31.67s) exceeded a 30-second threshold. The threshold has since been increased to 60 seconds in ValidateClientCancellationAsync, which provides sufficient margin for CI environments under load.

Fixes #25760

Remove the ActiveIssue attribute disabling this cancellation test.
The original failure was a timing assertion where elapsed time
(31.67s) exceeded a 30-second threshold. The threshold has since been
increased to 60 seconds in ValidateClientCancellationAsync, which
provides sufficient margin for CI environments under load.

Fixes dotnet#25760

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dotnet-policy-service
Copy link
Contributor

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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Re-enables a previously disabled HttpClient cancellation functional test now that the shared cancellation timing threshold has been relaxed to better tolerate slower CI environments.

Changes:

  • Removed the [ActiveIssue] suppression from GetAsync_CancelDuringResponseBodyReceived_Buffered_TaskCanceledQuickly.

Copy link
Member

@rzikm rzikm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if CI passes

@ManickaP
Copy link
Member Author

Re-enabled test seems to be running successfully, e.g.:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants

Comments