diff --git a/solr/core/src/test/org/apache/solr/cloud/TriLevelCompositeIdRoutingTest.java b/solr/core/src/test/org/apache/solr/cloud/TriLevelCompositeIdRoutingTest.java index 7d5aa129222..07a61bcb98c 100644 --- a/solr/core/src/test/org/apache/solr/cloud/TriLevelCompositeIdRoutingTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/TriLevelCompositeIdRoutingTest.java @@ -80,8 +80,6 @@ public class TriLevelCompositeIdRoutingTest extends ShardRoutingTest { // for now, we know how ranges will be distributed to shards. // may have to look it up in clusterstate if that assumption changes. - Random r = new Random(); - for (int i=0;i < NUM_DOCS;i++) { int appId = r.nextInt(NUM_APPS) + 1; int userId = r.nextInt(NUM_USERS) + 1; @@ -113,8 +111,6 @@ public class TriLevelCompositeIdRoutingTest extends ShardRoutingTest { // may have to look it up in clusterstate if that assumption changes. del("*:*"); - Random r = new Random(); - for (int i=0;i < NUM_DOCS;i++) { int appId = r.nextInt(NUM_APPS) + 1; int userId = r.nextInt(NUM_USERS) + 1;