diff --git a/solr/core/src/test/org/apache/solr/servlet/TestRequestRateLimiter.java b/solr/core/src/test/org/apache/solr/servlet/TestRequestRateLimiter.java index 2ca547714ae..f8023a6a8bb 100644 --- a/solr/core/src/test/org/apache/solr/servlet/TestRequestRateLimiter.java +++ b/solr/core/src/test/org/apache/solr/servlet/TestRequestRateLimiter.java @@ -81,7 +81,7 @@ public class TestRequestRateLimiter extends SolrCloudTestCase { mockQueryRateLimiter.acceptedNewRequestCount.get() + mockQueryRateLimiter.rejectedRequestCount.get()); } - @Test + @Nightly public void testSlotBorrowing() throws Exception { CloudSolrClient client = cluster.getSolrClient(); client.setDefaultCollection(SECOND_COLLECTION); @@ -101,7 +101,7 @@ public class TestRequestRateLimiter extends SolrCloudTestCase { solrDispatchFilter.replaceRateLimitManager(rateLimitManager); - int numDocs = TEST_NIGHTLY ? 10000 : 100; + int numDocs = 10000; processTest(client, numDocs, 400 /* Number of queries */);