mirror of https://github.com/apache/lucene.git
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:
parent
c3cbded1b1
commit
7b7339d733
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue