From 6078c0eb925a0ec02905d3bd6bfd370ae7cccbac Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Tue, 1 Feb 2022 01:50:10 +0100 Subject: [PATCH] Revert "attempt to re-enable RentReturnRelease_SubsequentRentReturnsDifferentHandles on Mac" This reverts commit bbbf687477a66843219552b445562688ee843f9b. --- .../Memory/Allocators/UniformUnmanagedMemoryPoolTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedMemoryPoolTests.cs b/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedMemoryPoolTests.cs index 4ab2c93a52..7d98eff611 100644 --- a/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedMemoryPoolTests.cs +++ b/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedMemoryPoolTests.cs @@ -245,7 +245,10 @@ namespace SixLabors.ImageSharp.Tests.Memory.Allocators cleanup.Register(b1); } - [Theory] + public static readonly bool IsNotMacOS = !TestEnvironment.IsOSX; + + // TODO: Investigate MacOS failures + [ConditionalTheory(nameof(IsNotMacOS))] [InlineData(false)] [InlineData(true)] public void RentReturnRelease_SubsequentRentReturnsDifferentHandles(bool multiple)