Skip to content

Commit 89b0ef7

Browse files
mbrandonwmluisbrown
authored andcommitted
Increase timeout for failure tests.
1 parent 63e977b commit 89b0ef7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/ComposableArchitectureTests/RuntimeWarningTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class RuntimeWarningTests: XCTestCase {
1818
Task {
1919
_ = Store<Int, Void>(initialState: 0, reducer: .empty, environment: ())
2020
}
21-
_ = XCTWaiter.wait(for: [.init()], timeout: 0.1)
21+
_ = XCTWaiter.wait(for: [.init()], timeout: 1)
2222
}
2323

2424
func testEffectFinishedMainThread() {
@@ -52,7 +52,7 @@ final class RuntimeWarningTests: XCTestCase {
5252
environment: ()
5353
)
5454
ViewStore(store).send(.tap)
55-
_ = XCTWaiter.wait(for: [.init()], timeout: 0.1)
55+
_ = XCTWaiter.wait(for: [.init()], timeout: 1)
5656
}
5757

5858
func testStoreScopeMainThread() {
@@ -78,7 +78,7 @@ final class RuntimeWarningTests: XCTestCase {
7878
Task {
7979
_ = store.scope(state: { $0 })
8080
}
81-
_ = XCTWaiter.wait(for: [.init()], timeout: 0.1)
81+
_ = XCTWaiter.wait(for: [.init()], timeout: 1)
8282
}
8383

8484
func testViewStoreSendMainThread() {
@@ -110,7 +110,7 @@ final class RuntimeWarningTests: XCTestCase {
110110
Task {
111111
ViewStore(store).send(())
112112
}
113-
_ = XCTWaiter.wait(for: [.init()], timeout: 0.1)
113+
_ = XCTWaiter.wait(for: [.init()], timeout: 1)
114114
}
115115

116116
func testEffectEmitMainThread() {

0 commit comments

Comments
 (0)