Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void Profiler_WithZeroStartupTimeout_CapturesAfterStartingAsynchronously(
{
if (TestEnvironment.IsGitHubActions)
{
Skip.If(TestEnvironment.IsWinX64, "Flaky in CI on Windows X64.");
Skip.If(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Flaky in CI on Windows.");
Skip.If(RuntimeInformation.IsOSPlatform(OSPlatform.Linux), "Flaky in CI on Linux.");
}

Expand Down
5 changes: 0 additions & 5 deletions test/Sentry.Testing/TestEnvironment.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Sentry.Testing;

public static class TestEnvironment
Expand All @@ -15,7 +13,4 @@ public static bool IsGitHubActions
return isGitHubActions?.Equals("true", StringComparison.OrdinalIgnoreCase) == true;
}
}

public static bool IsWinX64 => RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
&& RuntimeInformation.OSArchitecture == Architecture.X64;
}
Loading