Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

raise the length of time that we are willing to wait for searchers to be closed

Mark Robert Miller231445f166d2
diff --git a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
index 2fea568ef42..18e730a663f 100755
--- a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
+++ b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
@@ -127,7 +127,7 @@ public abstract class SolrTestCaseJ4 extends LuceneTestCase {
// wait a bit in case any ending threads have anything to release
int retries = 0;
while (endNumOpens - numOpens != endNumCloses - numCloses) {
- if (retries++ > 15) {
+ if (retries++ > 30) {
break;
}
try {