add another couple loops for this test to keep false failure from occurring

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980261 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2010-07-28 22:57:44 +00:00
parent f64f56f584
commit b3bb09bb8a
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
SolrDocumentList slaveQueryResult = null;
NamedList slaveQueryRsp;
// try a few times in case tests are running slow
for (int i = 0; i < 3; i++) {
for (int i = 0; i < 5; i++) {
slaveQueryRsp = rQuery(1, "id:555", slaveClient);
slaveQueryResult = (SolrDocumentList) slaveQueryRsp.get("response");
if (slaveQueryResult.getNumFound() > 0) {