risdenk commented on code in PR #953:
URL: https://github.com/apache/solr/pull/953#discussion_r998702196
##########
solr/solrj/src/test/org/apache/solr/common/util/URLUtilTest.java:
##########
@@ -16,13 +16,10 @@
*/
package org.apache.solr.common.util;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
-
+import org.apache.solr.SolrTestCase;
import org.junit.Test;
-public class URLUtilTest {
+public class URLUtilTest extends SolrTestCase {
Review Comment:
Get all the benefits of the underlying randomization and thread leak checks
from Lucene. This ensures that all these tests have a common base. There are no
real downsides to doing this either.
##########
solr/solrj/src/test/org/apache/solr/client/solrj/request/TestUpdateRequest.java:
##########
@@ -17,56 +17,55 @@
package org.apache.solr.client.solrj.request;
import java.util.Arrays;
+import org.apache.solr.SolrTestCase;
import org.apache.solr.common.SolrInputDocument;
-import org.junit.Assert;
import org.junit.Test;
-public class TestUpdateRequest {
+public class TestUpdateRequest extends SolrTestCase {
Review Comment:
Get all the benefits of the underlying randomization and thread leak checks
from Lucene. This ensures that all these tests have a common base. There are no
real downsides to doing this either.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]