mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-9578 Improve stability in AddToHoldsBulkV1Tests (#3355)
This commit is contained in:
@@ -139,7 +139,8 @@ public class AddToHoldsBulkV1Tests extends BaseRMRestTest
|
|||||||
ancestorSearchRequest.setQuery(ancestorReq);
|
ancestorSearchRequest.setQuery(ancestorReq);
|
||||||
|
|
||||||
STEP("Wait until paths are indexed.");
|
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()
|
.until(() -> getRestAPIFactory().getSearchAPI(null).search(ancestorSearchRequest).getPagination()
|
||||||
.getTotalItems() == NUMBER_OF_FILES);
|
.getTotalItems() == NUMBER_OF_FILES);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user