Skip to content

Commit b6a9809

Browse files
committed
Increase timeout.
1 parent 7d61d5c commit b6a9809

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/ComposableArchitectureTests/RuntimeWarningTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final class RuntimeWarningTests: XCTestCase {
1616
Task {
1717
_ = Store<Int, Void>(initialState: 0, reducer: .empty, environment: ())
1818
}
19-
_ = XCTWaiter.wait(for: [.init()], timeout: 1)
19+
_ = XCTWaiter.wait(for: [.init()], timeout: 2)
2020
}
2121

2222
func testEffectFinishedMainThread() {
@@ -51,7 +51,7 @@ final class RuntimeWarningTests: XCTestCase {
5151
environment: ()
5252
)
5353
ViewStore(store).send(.tap)
54-
_ = XCTWaiter.wait(for: [.init()], timeout: 1)
54+
_ = XCTWaiter.wait(for: [.init()], timeout: 2)
5555
}
5656

5757
func testStoreScopeMainThread() {
@@ -77,7 +77,7 @@ final class RuntimeWarningTests: XCTestCase {
7777
Task {
7878
_ = store.scope(state: { $0 })
7979
}
80-
_ = XCTWaiter.wait(for: [.init()], timeout: 1)
80+
_ = XCTWaiter.wait(for: [.init()], timeout: 2)
8181
}
8282

8383
func testViewStoreSendMainThread() {
@@ -109,7 +109,7 @@ final class RuntimeWarningTests: XCTestCase {
109109
Task {
110110
ViewStore(store).send(())
111111
}
112-
_ = XCTWaiter.wait(for: [.init()], timeout: 1)
112+
_ = XCTWaiter.wait(for: [.init()], timeout: 2)
113113
}
114114

115115
func testEffectEmitMainThread() {
@@ -166,7 +166,7 @@ final class RuntimeWarningTests: XCTestCase {
166166
environment: ()
167167
)
168168
ViewStore(store).send(.tap)
169-
_ = XCTWaiter.wait(for: [.init()], timeout: 1)
169+
_ = XCTWaiter.wait(for: [.init()], timeout: 2)
170170
}
171171

172172
func testBindingUnhandledAction() {

0 commit comments

Comments
 (0)