From d163410e3d0378eac1a61f2f13cc718c9a457b4f Mon Sep 17 00:00:00 2001 From: Gerard Olenski <31597546+gerardolenski@users.noreply.github.com> Date: Fri, 16 May 2025 16:30:55 +0200 Subject: [PATCH] ACS-9578 Improve stability in AddToHoldsBulkV1Tests (#3355) --- .../alfresco/rest/rm/community/hold/AddToHoldsBulkV1Tests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/hold/AddToHoldsBulkV1Tests.java b/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/hold/AddToHoldsBulkV1Tests.java index 198d76d4c6..58130ecff0 100644 --- a/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/hold/AddToHoldsBulkV1Tests.java +++ b/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/hold/AddToHoldsBulkV1Tests.java @@ -139,7 +139,8 @@ public class AddToHoldsBulkV1Tests extends BaseRMRestTest ancestorSearchRequest.setQuery(ancestorReq); STEP("Wait until paths are indexed."); - await().atMost(30, TimeUnit.SECONDS) + // to improve stability on CI - seems that sometimes during big load we need to wait longer for the condition + await().atMost(120, TimeUnit.SECONDS) .until(() -> getRestAPIFactory().getSearchAPI(null).search(ancestorSearchRequest).getPagination() .getTotalItems() == NUMBER_OF_FILES);