Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions UnitTests/Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion UnitTests/UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageReference Include="nunit" Version="4.5.1" />
<PackageReference Include="NUnit3TestAdapter" Version="6.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.12.0" PrivateAssets="All" />
<PackageReference Include="NUnit.Analyzers" Version="4.14.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\src\Microsoft.IO.RecyclableMemoryStream.csproj" />
Expand Down
Loading