File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Tests/MeiliSearchIntegrationTests Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class IndexesTests: XCTestCase {
5050 self . client. createIndex ( uid: self . uid) { result in
5151 switch result {
5252 case . success( let task) :
53- self . client. waitForTask ( task: task) { result in
53+ self . client. waitForTask ( task: task, options : WaitOptions ( timeOut : 10.0 ) ) { result in
5454 switch result {
5555 case . success( let task) :
5656 XCTAssertEqual ( " indexCreation " , task. type)
Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ class SearchTests: XCTestCase {
537537 self . index. updateSettings ( settings) { result in
538538 switch result {
539539 case . success( let task) :
540- self . client. waitForTask ( task: task) { result in
540+ self . client. waitForTask ( task: task, options : WaitOptions ( timeOut : 10.0 ) ) { result in
541541 switch result {
542542 case . success:
543543 completion ( . success( ( ) ) )
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public func waitForTask(
5959 client. createIndex ( uid: uid) { result in
6060 switch result {
6161 case . success( let task) :
62- client. waitForTask ( task: task) { result in
62+ client. waitForTask ( task: task, options : WaitOptions ( timeOut : 10.0 ) ) { result in
6363 switch result {
6464 case . success( let task) :
6565 completion ( . success( task) )
You can’t perform that action at this time.
0 commit comments