diff --git a/test/Sentry.Maui.Tests/SentryMauiScreenshotTests.cs b/test/Sentry.Maui.Tests/SentryMauiScreenshotTests.cs index 778d0ebf72..89f9ad00af 100644 --- a/test/Sentry.Maui.Tests/SentryMauiScreenshotTests.cs +++ b/test/Sentry.Maui.Tests/SentryMauiScreenshotTests.cs @@ -184,6 +184,9 @@ public async Task CaptureException_BeforeCaptureScreenshot_DefaultAsync() [SkippableFact] public async Task CaptureException_AttachScreenshot_Threadsafe() { +#if ANDROID + Skip.If(TestEnvironment.IsGitHubActions, "Flaky in CI on Android"); +#endif // Arrange var builder = _fixture.Builder.UseSentry(options => options.AttachScreenshot = true); await using var app = builder.Build();