Search-1493: Allowing more time for indexing, upto 6 tries instead of 3, this does not make other tests slower

This commit is contained in:
meenal.bhave@alfresco.com
2019-02-21 15:19:55 +00:00
parent 7ea4bc6431
commit 79298eceae
@@ -273,7 +273,7 @@ public abstract class AbstractSearchServiceE2E extends AbstractTestNGSpringConte
String expectedStatusCode = HttpStatus.OK.toString();
// Repeat search until the query results are as expected or Search Retry count is hit
for (int searchCount = 1; searchCount <= 3; searchCount++)
for (int searchCount = 1; searchCount <= 5; searchCount++)
{
SearchRequest searchRequest = createQuery(userQuery);
SearchResponse response = query(searchRequest);