Browse Source

Skip additional allocation failure tests on .NET 7 ARM64

pull/2341/head
James Jackson-South 3 years ago
parent
commit
5aa28bc26f
  1. 8
      tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs

8
tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs

@ -331,6 +331,14 @@ public class UniformUnmanagedPoolMemoryAllocatorTests
return;
}
#if NET7_0_OR_GREATER
if (TestEnvironment.OSArchitecture == Architecture.Arm64)
{
// Skip on .NET7 ARM64: https://github.com/SixLabors/ImageSharp/issues/2342
return;
}
#endif
if (!TestEnvironment.RunsOnCI)
{
// This may fail in local runs resulting in high memory load.

Loading…
Cancel
Save