From e449b2da311d0e843bb1be3b2dfb400eb6c696b1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 Jul 2026 22:41:51 +0000 Subject: [PATCH 1/2] Bump NUnit.Analyzers from 4.12.0 to 4.14.0 --- updated-dependencies: - dependency-name: NUnit.Analyzers dependency-version: 4.14.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- UnitTests/UnitTests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj index f88171e..5c3eaa6 100644 --- a/UnitTests/UnitTests.csproj +++ b/UnitTests/UnitTests.csproj @@ -12,7 +12,7 @@ - + From 3542b0245b71a124784e4eabb051080a915aebaf Mon Sep 17 00:00:00 2001 From: Ben Watson Date: Fri, 10 Jul 2026 16:03:12 -0700 Subject: [PATCH 2/2] Remove obsolete use of Timeout attribute. --- UnitTests/Tests.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/UnitTests/Tests.cs b/UnitTests/Tests.cs index 8751a51..c5380b5 100644 --- a/UnitTests/Tests.cs +++ b/UnitTests/Tests.cs @@ -4057,9 +4057,8 @@ protected override void TestDroppingLargeBuffer(long maxFreeLargeBufferSize) } } } -#pragma warning disable 618 // Timeout is obsolete because it kills the thread, which isn't allowed, but it's still handy - // for tests that are expected to run indefinitely in the failure case. - [Test, Timeout(10000)] + + [Test, MaxTime(10000)] public void TryGetBuffer_InfiniteLoop_Issue344() { // see https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/issues/344