Apache Lucene open-source search software
SOLR-12027: Increasing thread lingering to 80s
Mikhail Khludnevd3ef153b0946
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 5c0351e9a61..c6a2dd00285 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -316,6 +316,8 @@ Other Changes* SOLR-12017: Remove BadApple and AwaitsFix annotations that link to closed JIRAs (Erick Erickson)+* SOLR-12027: Increase thread lingering timeout to 80s. (Mikhail Khludnev)+================== 7.2.1 ==================Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.diff --git a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.javaindex 706f1ebe8b6..bef95195624 100644--- a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java+++ b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java@@ -64,6 +64,7 @@ import com.carrotsearch.randomizedtesting.RandomizedContext;import com.carrotsearch.randomizedtesting.RandomizedTest;import com.carrotsearch.randomizedtesting.TraceFormatting;import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;+import com.carrotsearch.randomizedtesting.annotations.ThreadLeakLingering;import com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule;import org.apache.commons.io.FileUtils;import org.apache.http.client.HttpClient;@@ -159,6 +160,7 @@ import static org.apache.solr.update.processor.DistributingUpdateProcessorFactor@SuppressSysoutChecks(bugUrl = "Solr dumps tons of logs to console.")@SuppressFileSystems("ExtrasFS") // might be ok, the failures with e.g. nightly runs might be "normal"@RandomizeSSL()+@ThreadLeakLingering(linger = 80000)public abstract class SolrTestCaseJ4 extends LuceneTestCase {private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());