Skip to content

Commit fe3a33b

Browse files
authored
test: disabled win-x64 test on win-arm64 too (#4464)
1 parent 0a08754 commit fe3a33b

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

test/Sentry.Profiling.Tests/SamplingTransactionProfilerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public void Profiler_WithZeroStartupTimeout_CapturesAfterStartingAsynchronously(
119119
{
120120
if (TestEnvironment.IsGitHubActions)
121121
{
122-
Skip.If(TestEnvironment.IsWinX64, "Flaky in CI on Windows X64.");
122+
Skip.If(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Flaky in CI on Windows.");
123123
Skip.If(RuntimeInformation.IsOSPlatform(OSPlatform.Linux), "Flaky in CI on Linux.");
124124
}
125125

test/Sentry.Testing/TestEnvironment.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
31
namespace Sentry.Testing;
42

53
public static class TestEnvironment
@@ -15,7 +13,4 @@ public static bool IsGitHubActions
1513
return isGitHubActions?.Equals("true", StringComparison.OrdinalIgnoreCase) == true;
1614
}
1715
}
18-
19-
public static bool IsWinX64 => RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
20-
&& RuntimeInformation.OSArchitecture == Architecture.X64;
2116
}

0 commit comments

Comments
 (0)