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:
Yonik Seeley 2012-08-09 21:16:15 +00:00
parent d3a2df9307
commit 562f65020c
1 changed files with 1 additions and 1 deletions

View File

@ -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) {