File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Tests/ElasticsearchNIOClientTests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ class ElasticSearchIntegrationTests: XCTestCase {
128128 func testUpdateDocumentWithID( ) throws {
129129 let item = SomeItem ( id: UUID ( ) , name: " Banana " )
130130 _ = try client. createDocumentWithID ( item, in: self . indexName) . wait ( )
131- Thread . sleep ( forTimeInterval: 0.5 )
131+ Thread . sleep ( forTimeInterval: 1.0 )
132132 let updatedItem = SomeItem ( id: item. id, name: " Bananas " )
133133 let response = try client. updateDocument ( updatedItem, in: self . indexName) . wait ( )
134134 XCTAssertEqual ( response. result, " updated " )
@@ -476,7 +476,7 @@ class ElasticSearchIntegrationTests: XCTestCase {
476476 }
477477
478478 // This is required for ES to settle and load the indexes to return the right results
479- Thread . sleep ( forTimeInterval: 1 .0)
479+ Thread . sleep ( forTimeInterval: 2 .0)
480480
481481 struct Query : Encodable {
482482 let query : QueryBody
You can’t perform that action at this time.
0 commit comments