Skip to content

Commit

Permalink
Mark one unit test as flaky on macOS arm64.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Feb 11, 2024
1 parent 167add4 commit b285df9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Magick.NET.Tests/Coders/ThePangoCoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ public void ShouldUseInterlineSpacingSetting()
[Fact]
public void ShouldUseTextAntiAliasSetting()
{
if (TestRuntime.HasFlakyMacOSArm64Result)
return;

var settings = new MagickReadSettings()
{
AntiAlias = false,
Expand Down
3 changes: 3 additions & 0 deletions tests/Magick.NET.Tests/TestHelpers/TestRuntime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ public static bool HasFlakyLinuxArm64Result

public static bool HasFlakyMacOSResult
=> Runtime.IsMacOS;

public static bool HasFlakyMacOSArm64Result
=> Runtime.IsMacOS && Runtime.IsArm64;
}

0 comments on commit b285df9

Please sign in to comment.