Skip to content

Commit 59e2ffa

Browse files
committed
PR feedback
1 parent 4f038a7 commit 59e2ffa

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

SentryTestUtils/TestOptions.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ public extension Options {
1414
enableNetworkBreadcrumbs = false
1515
enableCaptureFailedRequests = false
1616
enableAutoBreadcrumbTracking = false
17+
enableCoreDataTracing = false
18+
enableFileIOTracing = false
1719
#if (os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))) && !SENTRY_NO_UIKIT
20+
enableUserInteractionTracing = false
1821
attachViewHierarchy = false
1922
enableUIViewControllerTracing = false
2023
#endif

Tests/SentryTests/Integrations/Performance/CoreData/SentryCoreDataTrackingIntegrationTest.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ class SentryCoreDataTrackingIntegrationTests: XCTestCase {
1313
init(testName: String) {
1414
coreDataStack = TestCoreDataStack(databaseFilename: "db-\(testName.hashValue).sqlite")
1515
options = Options()
16+
options.removeAllIntegrations()
17+
options.enableSwizzling = true
1618
options.enableCoreDataTracing = true
1719
options.tracesSampleRate = 1
1820
}

Tests/SentryTests/Integrations/Performance/IO/FileManagerTracingIntegrationTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class FileManagerSentryTracingIntegrationTests: XCTestCase {
3838
options.dsn = TestConstants.dsnAsString(username: "FileManagerSentryTracingIntegrationTests")
3939
options.removeAllIntegrations()
4040

41-
options.removeAllIntegrations()
4241
// Configure options required by File I/O tracking integration
4342
options.enableAutoPerformanceTracing = true
4443
options.enableFileIOTracing = isEnabled

0 commit comments

Comments
 (0)