This commit is contained in:
Paul Brodner
2018-02-09 16:16:59 +02:00
@@ -728,7 +728,7 @@ public class NodesLockTests extends RestTest
query.setIncludeRequest(false); query.setIncludeRequest(false);
// Allow indexing to complete. // Allow indexing to complete.
Utility.sleep(1000, 60000, () -> Utility.sleep(1000, 180000, () ->
{ {
SearchResponse response = query(query); SearchResponse response = query(query);
restClient.assertStatusCodeIs(HttpStatus.OK); restClient.assertStatusCodeIs(HttpStatus.OK);
@@ -745,7 +745,7 @@ public class NodesLockTests extends RestTest
STEP("7. Verify that childNode1 and childNode2 are not found in the query results."); STEP("7. Verify that childNode1 and childNode2 are not found in the query results.");
// Allow indexing to complete. // Allow indexing to complete.
Utility.sleep(1000, 60000, () -> Utility.sleep(1000, 180000, () ->
{ {
SearchResponse response = query(query); SearchResponse response = query(query);
restClient.assertStatusCodeIs(HttpStatus.OK); restClient.assertStatusCodeIs(HttpStatus.OK);