diff --git a/Sources/LassoTestUtilities/ControllerLifecycle.swift b/Sources/LassoTestUtilities/ControllerLifecycle.swift index fb1f72a..7b3113a 100644 --- a/Sources/LassoTestUtilities/ControllerLifecycle.swift +++ b/Sources/LassoTestUtilities/ControllerLifecycle.swift @@ -207,7 +207,7 @@ extension XCTestCase { internal func expectMainQueueExhaustion() -> XCTestExpectation { let exhaustion = expectation(description: "main queue exhaustion") - DispatchQueue.main.asyncAfter(deadline: .now() + 0.1, execute: { + DispatchQueue.main.asyncAfter(deadline: .now() + .leastNormalMagnitude, execute: { exhaustion.fulfill() }) return exhaustion