From 6605c0fbdc590a5359aa61f25b9b308ae404c750 Mon Sep 17 00:00:00 2001 From: "andrei.bazavan" Date: Fri, 9 Feb 2018 15:28:02 +0200 Subject: [PATCH] Rewrite Lucene-based Tests in TAS for LockServiceImplTest: testEphemeralLockIndexing and testGetLocks in testLockUnlockParentChild --- e2e-test/java/org/alfresco/rest/nodes/NodesLockTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);