SOLR-5509: Raise id's per thread so they won't overlap

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546779 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-12-01 05:09:31 +00:00
parent c3cbded1b1
commit 7b7339d733
1 changed files with 2 additions and 1 deletions

View File

@ -115,8 +115,9 @@ public class ChaosMonkeyNothingIsSafeTest extends AbstractFullDistribZkTestBase
int threadCount = 1;
int i = 0;
for (i = 0; i < threadCount; i++) {
// ensure the id start is high enough that threads will not overlap doc ids
StopableIndexingThread indexThread = new StopableIndexingThread(
(i+1) * 50000, true);
(i+1) * 25000000, true);
threads.add(indexThread);
indexThread.start();
}