Skip to content

Commit ad964ca

Browse files
test: Remove unused queue for FramesTrackerTests (#5778)
The DispatchQueue in the fixture isn't used and can be removed.
1 parent d06a4db commit ad964ca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tests/SentryTests/Integrations/Performance/FramesTracking/SentryFramesTrackerTests.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class SentryFramesTrackerTests: XCTestCase {
99
private class Fixture {
1010

1111
var displayLinkWrapper: TestDisplayLinkWrapper
12-
var queue: DispatchQueue
1312
var dateProvider = TestCurrentDateProvider()
1413
var notificationCenter = TestNSNotificationCenterWrapper()
1514
let keepDelayedFramesDuration = 10.0
@@ -18,8 +17,7 @@ class SentryFramesTrackerTests: XCTestCase {
1817

1918
init() {
2019
displayLinkWrapper = TestDisplayLinkWrapper(dateProvider: dateProvider)
21-
queue = DispatchQueue(label: "SentryFramesTrackerTests", qos: .background, attributes: [.concurrent])
22-
20+
2321
slowestSlowFrameDelay = (displayLinkWrapper.slowestSlowFrameDuration - slowFrameThreshold(displayLinkWrapper.currentFrameRate.rawValue))
2422
}
2523

0 commit comments

Comments
 (0)