mirror of https://github.com/apache/lucene.git
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:
parent
4b4ecb7528
commit
d57ef1cf1a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue