this is still somewhat brittle - try waiting for up to 3 seconds

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980879 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2010-07-30 16:05:48 +00:00
parent 4b4ecb7528
commit d57ef1cf1a
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 < 10; i++) {
for (int i = 0; i < 30; i++) {
slaveQueryRsp = rQuery(1, "id:555", slaveClient);
slaveQueryResult = (SolrDocumentList) slaveQueryRsp.get("response");
if (slaveQueryResult.getNumFound() > 0) {