Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Attempted fix for flaky TestQueryLimits test (#3940)

Jan Høydahl1667ef988bee
diff --git a/solr/core/src/test/org/apache/solr/search/TestQueryLimits.java b/solr/core/src/test/org/apache/solr/search/TestQueryLimits.java
index dbee1511295..2e6d773924e 100644
--- a/solr/core/src/test/org/apache/solr/search/TestQueryLimits.java
+++ b/solr/core/src/test/org/apache/solr/search/TestQueryLimits.java
@@ -114,7 +114,7 @@ public class TestQueryLimits extends SolrCloudTestCase {
@Test
public void testAdjustShardRequestLimits() throws Exception {
SolrClient solrClient = cluster.getSolrClient();
- String timeAllowed = "500"; // ms
+ String timeAllowed = "1000"; // ms - increased from 500 to avoid flakiness with grouped queries
ModifiableSolrParams params =
params(
"q",