Skip to content

Commit 4ebe5f9

Browse files
committed
Try to fix flaky macOS CI issue
1 parent 8db77ae commit 4ebe5f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/OpenSwiftUICoreTests/Util/TimerUtilsTests.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ final class TimerUtilsXCTests: XCTestCase {
8686
}
8787
XCTAssertTrue(timer.isValid)
8888
XCTAssertFalse(callbackExecuted)
89-
await fulfillment(of: [expectation], timeout: 0.3)
89+
// 0.3s will sometimes fail for macOS + 2021 platform
90+
await fulfillment(of: [expectation], timeout: 1)
9091

9192
XCTAssertTrue(callbackExecuted)
9293
let elapsedTime = Date().timeIntervalSince(startTime)

0 commit comments

Comments
 (0)