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:
Mark Robert Miller 2014-01-05 20:20:35 +00:00
parent ba5ab6faa7
commit 4961aa0807
1 changed files with 1 additions and 1 deletions

View File

@ -799,7 +799,7 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
master.copyConfigFile(CONF_DIR + slaveSchema, "schema.xml"); 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++) { for (int i = 0; i < docs; i++) {
index(masterClient, "id", id++, "name", "name = " + i); index(masterClient, "id", id++, "name", "name = " + i);
} }