From 53f2825a582718f2d9bbb85ce7c83a125b90f17b Mon Sep 17 00:00:00 2001 From: Rodica Sutu Date: Wed, 29 Jan 2020 10:37:01 +0200 Subject: [PATCH] increase the sleep max time --- .../org/alfresco/rest/rm/community/search/CmisQueryTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/CmisQueryTests.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/CmisQueryTests.java index 366c0c23b2..85561c1530 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/CmisQueryTests.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/CmisQueryTests.java @@ -128,12 +128,12 @@ public class CmisQueryTests extends BaseRMRestTest recordFolder.getParentId(), ROLE_RM_MANAGER, UserPermissions.PERMISSION_READ_RECORDS); //do a cmis query to wait for solr indexing - Utility.sleep(5000, 30000, () -> + Utility.sleep(5000, 60000, () -> { ItemIterable results = contentActions.getCMISSession(getAdminUser().getUsername(), getAdminUser().getPassword()).query(sqlWithName, false); - assertEquals("Total number of items is not 30, got " + results.getTotalNumItems() + "total items", + assertEquals("Total number of items is not 30, got " + results.getTotalNumItems() + " total items", 30, results.getTotalNumItems()); }); }