Skip to content

Commit

Permalink
test: Disable flaky testSerializeWithUnderlyingNSException (#2387)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipphofmann authored Nov 15, 2022
1 parent 278625e commit 7dd31aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Sentry.xcodeproj/xcshareddata/xcschemes/Sentry.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
<Test
Identifier = "SentryFileIOTrackingIntegrationTests/test_DataConsistency_readUrl_disabled()">
</Test>
<Test
Identifier = "SentryNSErrorTests/testSerializeWithUnderlyingNSException_disabled()">
</Test>
<Test
Identifier = "SentryNetworkTrackerIntegrationTests/testGetRequest_SpanCreatedAndBaggageHeaderAdded_disabled()">
</Test>
Expand Down
2 changes: 1 addition & 1 deletion Tests/SentryTests/Protocol/SentryNSErrorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class SentryNSErrorTests: XCTestCase {
XCTAssertEqual(actualUnderlyingError.domain, inputUnderlyingError.domain)
}

func testSerializeWithUnderlyingNSException() {
func testSerializeWithUnderlyingNSException_disabled() {
let inputExceptionName = NSExceptionName.decimalNumberDivideByZeroException
let inputExceptionReason = "test exception reason"
let inputUnderlyingException = NSException(name: inputExceptionName, reason: inputExceptionReason, userInfo: ["some userinfo key": "some userinfo value"])
Expand Down

0 comments on commit 7dd31aa

Please sign in to comment.