From bc8dbd8b6ef7906b0dde479ba72aaa3617945d03 Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Wed, 13 Aug 2025 10:04:45 +0200 Subject: [PATCH] test: Increase timeout to 5 seconds for ANRV1 A waitTimeout of 2 seconds is usually not enough. Let's increase it to 5 seconds. --- .../SentryTests/Integrations/ANR/SentryANRTrackerV1Tests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SentryTests/Integrations/ANR/SentryANRTrackerV1Tests.swift b/Tests/SentryTests/Integrations/ANR/SentryANRTrackerV1Tests.swift index 4d15d71eefe..55855a440e9 100644 --- a/Tests/SentryTests/Integrations/ANR/SentryANRTrackerV1Tests.swift +++ b/Tests/SentryTests/Integrations/ANR/SentryANRTrackerV1Tests.swift @@ -9,7 +9,7 @@ class SentryANRTrackerV1Tests: XCTestCase, SentryANRTrackerDelegate { private var fixture: Fixture! private var anrDetectedExpectation: XCTestExpectation! private var anrStoppedExpectation: XCTestExpectation! - private let waitTimeout: TimeInterval = 2.0 + private let waitTimeout: TimeInterval = 5.0 private var lastANRStoppedResult: SentryANRStoppedResult? private class Fixture {