Skip to content

Commit ed85746

Browse files
test: Increase timeout to 5 seconds for ANRV1 (#5905)
A waitTimeout of 2 seconds is usually not enough. Let's increase it to 5 seconds.
1 parent ce73e1b commit ed85746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SentryTests/Integrations/ANR/SentryANRTrackerV1Tests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class SentryANRTrackerV1Tests: XCTestCase, SentryANRTrackerDelegate {
99
private var fixture: Fixture!
1010
private var anrDetectedExpectation: XCTestExpectation!
1111
private var anrStoppedExpectation: XCTestExpectation!
12-
private let waitTimeout: TimeInterval = 2.0
12+
private let waitTimeout: TimeInterval = 5.0
1313
private var lastANRStoppedResult: SentryANRStoppedResult?
1414

1515
private class Fixture {

0 commit comments

Comments
 (0)