uschindler commented on a change in pull request #261:
URL: https://github.com/apache/solr/pull/261#discussion_r688115052



##########
File path: solr/benchmark/src/test/org/apache/solr/bench/DockMakerTest.java
##########
@@ -31,7 +30,7 @@
 
   @Before
   public void setup() {
-    System.setProperty("randomSeed", Long.toString(new Random().nextLong()));
+    System.setProperty("randomSeed", Long.toString(random().nextLong()));

Review comment:
       I didn't want to change the code so I just replaced the bad Random ctor.
   I don't know what this property means and where it is used, so I left as is.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to