@@ -36,7 +36,7 @@ class DatabaseReaderReadPublisherTests : XCTestCase {
36
36
try Player . fetchCount ( db)
37
37
} )
38
38
let recorder = publisher. record ( )
39
- let value = try wait ( for: recorder. single, timeout: 1 )
39
+ let value = try wait ( for: recorder. single, timeout: 5 )
40
40
XCTAssertEqual ( value, 0 )
41
41
}
42
42
@@ -135,7 +135,7 @@ class DatabaseReaderReadPublisherTests : XCTestCase {
135
135
try Row . fetchAll ( db, sql: " THIS IS NOT SQL " )
136
136
} )
137
137
let recorder = publisher. record ( )
138
- let recording = try wait ( for: recorder. recording, timeout: 1 )
138
+ let recording = try wait ( for: recorder. recording, timeout: 5 )
139
139
XCTAssertTrue ( recording. output. isEmpty)
140
140
assertFailure ( recording. completion) { ( error: DatabaseError ) in
141
141
XCTAssertEqual ( error. resultCode, . SQLITE_ERROR)
@@ -177,7 +177,7 @@ class DatabaseReaderReadPublisherTests : XCTestCase {
177
177
} )
178
178
179
179
semaphore. signal ( )
180
- waitForExpectations ( timeout: 1 , handler: nil )
180
+ waitForExpectations ( timeout: 5 , handler: nil )
181
181
cancellable. cancel ( )
182
182
}
183
183
@@ -215,7 +215,7 @@ class DatabaseReaderReadPublisherTests : XCTestCase {
215
215
dispatchPrecondition ( condition: . onQueue( . main) )
216
216
} )
217
217
218
- waitForExpectations ( timeout: 1 , handler: nil )
218
+ waitForExpectations ( timeout: 5 , handler: nil )
219
219
cancellable. cancel ( )
220
220
}
221
221
@@ -254,7 +254,7 @@ class DatabaseReaderReadPublisherTests : XCTestCase {
254
254
dispatchPrecondition ( condition: . onQueue( queue) )
255
255
} )
256
256
257
- waitForExpectations ( timeout: 1 , handler: nil )
257
+ waitForExpectations ( timeout: 5 , handler: nil )
258
258
cancellable. cancel ( )
259
259
}
260
260
@@ -277,7 +277,7 @@ class DatabaseReaderReadPublisherTests : XCTestCase {
277
277
try Player . createTable ( db)
278
278
} )
279
279
let recorder = publisher. record ( )
280
- let recording = try wait ( for: recorder. recording, timeout: 1 )
280
+ let recording = try wait ( for: recorder. recording, timeout: 5 )
281
281
XCTAssertTrue ( recording. output. isEmpty)
282
282
assertFailure ( recording. completion) { ( error: DatabaseError ) in
283
283
XCTAssertEqual ( error. resultCode, . SQLITE_READONLY)
0 commit comments