You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2013/12/01 06:09:32 UTC

svn commit: r1546779 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java

Author: markrmiller
Date: Sun Dec  1 05:09:31 2013
New Revision: 1546779

URL: http://svn.apache.org/r1546779
Log:
SOLR-5509: Raise id's per thread so they won't overlap

Modified:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java?rev=1546779&r1=1546778&r2=1546779&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java (original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java Sun Dec  1 05:09:31 2013
@@ -115,8 +115,9 @@ public class ChaosMonkeyNothingIsSafeTes
       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();
       }