mirror of https://github.com/apache/lucene.git
tests: use random seed of doc base
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371491 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d3a2df9307
commit
562f65020c
|
@ -130,7 +130,7 @@ public class TestSolrJ extends SolrTestCaseJ4 {
|
|||
}
|
||||
|
||||
public static void indexDocs(int base, int count, int maxSleep) throws IOException, SolrServerException {
|
||||
Random r = new Random(0);
|
||||
Random r = new Random(base);
|
||||
|
||||
for (int i=base; i<count+base; i++) {
|
||||
if ((i & 0xfffff) == 0) {
|
||||
|
|
Loading…
Reference in New Issue