From 1542a049edd2afdf58d1739141c69ee3230651dc Mon Sep 17 00:00:00 2001 From: ManickaP Date: Tue, 17 Feb 2026 17:51:01 +0100 Subject: [PATCH] Re-enable GetAsync_CancelDuringResponseBodyReceived_Buffered test 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 https://github.com/dotnet/runtime/issues/25760 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../tests/System/Net/Http/HttpClientHandlerTest.Cancellation.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cancellation.cs b/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cancellation.cs index b0a274ad787fcf..64b2c1519f8f28 100644 --- a/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cancellation.cs +++ b/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cancellation.cs @@ -143,7 +143,6 @@ await ValidateClientCancellationAsync(async () => } [Theory] - [ActiveIssue("https://github.com/dotnet/runtime/issues/25760")] [MemberData(nameof(TwoBoolsAndCancellationMode))] public async Task GetAsync_CancelDuringResponseBodyReceived_Buffered_TaskCanceledQuickly(bool chunkedTransfer, bool connectionClose, CancellationMode mode) {