mirror of https://github.com/apache/lucene.git
SOLR-5607: Repeatable TestReplicationHandler#doTestStressReplication fail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ba5ab6faa7
commit
4961aa0807
|
@ -799,7 +799,7 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
|
|||
master.copyConfigFile(CONF_DIR + slaveSchema, "schema.xml");
|
||||
}
|
||||
|
||||
int docs = random().nextInt(maxDocs);
|
||||
int docs = random().nextInt(maxDocs) + 1;
|
||||
for (int i = 0; i < docs; i++) {
|
||||
index(masterClient, "id", id++, "name", "name = " + i);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue