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