diff --git a/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs b/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs index 033101f5d..6a1190169 100644 --- a/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs +++ b/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs @@ -163,8 +163,9 @@ namespace SixLabors.ImageSharp.Tests.Memory.Allocators } } - [Fact] - [PlatformSpecific(~TestPlatforms.OSX)] // TODO: Investigate OSX failure + public static bool IsNotOsx = !TestEnvironment.IsOSX; + + [ConditionalFact(nameof(IsNotOsx))] // TODO: Investigate OSX failure public void MemoryAllocator_Create_LimitPoolSize() { RemoteExecutor.Invoke(RunTest).Dispose();