diff --git a/e2e-test/java/org/alfresco/rest/nodes/NodesLockTests.java b/e2e-test/java/org/alfresco/rest/nodes/NodesLockTests.java index 2e2d50bd5..e02401e6f 100644 --- a/e2e-test/java/org/alfresco/rest/nodes/NodesLockTests.java +++ b/e2e-test/java/org/alfresco/rest/nodes/NodesLockTests.java @@ -728,7 +728,7 @@ public class NodesLockTests extends RestTest query.setIncludeRequest(false); // Allow indexing to complete. - Utility.sleep(1000, 60000, () -> + Utility.sleep(1000, 180000, () -> { SearchResponse response = query(query); 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."); // Allow indexing to complete. - Utility.sleep(1000, 60000, () -> + Utility.sleep(1000, 180000, () -> { SearchResponse response = query(query); restClient.assertStatusCodeIs(HttpStatus.OK);