Merge pull request #940 from Alfresco/fix/SEARCH-2398_AlfrescoSolrReloadTest

SEARCH-2398 fix for alfrescosolrreload test

(cherry picked from commit ecf1ae1f9780b19fb79cea05eb682c0f27f5130e)
This commit is contained in:
Keerat Lalia
2020-12-03 15:03:35 +00:00
committed by Tom Page
parent 694f3dca4c
commit 215efa41fe
2 changed files with 2 additions and 2 deletions
@@ -157,7 +157,7 @@ public class AlfrescoIndexingStatePersistenceAcrossReloadsIT extends AbstractAlf
}
indexTransaction(bigTxn2, nodes, nodeMetaDatas);
waitForDocCount(new TermQuery(new Term("content@s___t@{http://www.alfresco.org/model/content/1.0}content", "world")), numNodes * 2, 100000);
waitForDocCount(new TermQuery(new Term("content@s___t@{http://www.alfresco.org/model/content/1.0}content", "world")), numNodes * 2, 500000);
}
private void reloadAndAssertCorrect(Collection<Tracker> trackers, int numOfTrackers, int jobs) throws Exception
@@ -131,7 +131,7 @@ public class AlfrescoSolrReloadIT extends AbstractAlfrescoSolrIT
indexTransaction(bigTxn2, nodes, nodeMetaDatas);
waitForDocCount(new TermQuery(new Term("content@s___t@{http://www.alfresco.org/model/content/1.0}content", "world")), numNodes * 2, 100000);
waitForDocCount(new TermQuery(new Term("content@s___t@{http://www.alfresco.org/model/content/1.0}content", "world")), numNodes * 2, 500000);
}
private void reloadAndAssertCorrect(Collection<Tracker> trackers, int numOfTrackers, int jobs) throws Exception