Skip to content

Commit

Permalink
Disabled flaky tests for android
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescrosswell committed Oct 3, 2024
1 parent 4780038 commit 4333bb6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion test/Sentry.Tests/HubTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1131,9 +1131,13 @@ public async Task CaptureTransaction_WithSyncThrowingTransactionProfiler_DoesntS
transport.GetSentEnvelopes().Should().BeEmpty();
}

[Fact]
[SkippableFact]
public async Task CaptureTransaction_WithAsyncThrowingTransactionProfiler_SendsTransactionWithoutProfile()
{
#if __ANDROID__
Skip.If(true, "Flaky on Android");
#endif

// Arrange
var transport = new FakeTransport();
var logger = new TestOutputDiagnosticLogger(_output);
Expand Down
6 changes: 5 additions & 1 deletion test/Sentry.Tests/SentrySdkTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,13 @@ public void ConfigureScope_Sync_CallbackNeverInvoked()
Assert.False(invoked);
}

[Fact]
[SkippableFact]
public async Task ConfigureScope_OnTask_PropagatedToCaller()
{
#if __ANDROID__
Skip.If(true, "Flaky on Android");
#endif

const string expected = "test";
using var _ = SentrySdk.Init(o =>
{
Expand Down

0 comments on commit 4333bb6

Please sign in to comment.