We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db77ae commit 4ebe5f9Copy full SHA for 4ebe5f9
Tests/OpenSwiftUICoreTests/Util/TimerUtilsTests.swift
@@ -86,7 +86,8 @@ final class TimerUtilsXCTests: XCTestCase {
86
}
87
XCTAssertTrue(timer.isValid)
88
XCTAssertFalse(callbackExecuted)
89
- await fulfillment(of: [expectation], timeout: 0.3)
+ // 0.3s will sometimes fail for macOS + 2021 platform
90
+ await fulfillment(of: [expectation], timeout: 1)
91
92
XCTAssertTrue(callbackExecuted)
93
let elapsedTime = Date().timeIntervalSince(startTime)
0 commit comments