From d6cd4bdf50eb7c3b309903d77106145763942c1a Mon Sep 17 00:00:00 2001 From: Rachel Brindle Date: Wed, 11 Dec 2024 16:04:52 -0800 Subject: [PATCH] Fix expected text in waitUntil stall test --- Tests/NimbleTests/PollingTest.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/NimbleTests/PollingTest.swift b/Tests/NimbleTests/PollingTest.swift index 7c6361298..a9d4d72ec 100644 --- a/Tests/NimbleTests/PollingTest.swift +++ b/Tests/NimbleTests/PollingTest.swift @@ -131,7 +131,7 @@ final class PollingTest: XCTestCase { } func testWaitUntilDetectsStalledMainThreadActivity() { - let msg = "-waitUntil() timed out but was unable to run the timeout handler because the main thread is unresponsive (0.5 seconds is allow after the wait times out). Conditions that may cause this include processing blocking IO on the main thread, calls to sleep(), deadlocks, and synchronous IPC. Nimble forcefully stopped run loop which may cause future failures in test run." + let msg = "-waitUntil() timed out but was unable to run the timeout handler because the main thread is unresponsive. (0.5 seconds is allowed after the wait times out) Conditions that may cause this include processing blocking IO on the main thread, calls to sleep(), deadlocks, and synchronous IPC. Nimble forcefully stopped the run loop which may cause future failures in test runs." failsWithErrorMessage(msg) { waitUntil(timeout: .seconds(1)) { done in Thread.sleep(forTimeInterval: 3.0)