lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [2/2] lucene-solr:branch_7x: SOLR-11911: Wait a while for left-behind threads from executors.
Date Wed, 14 Mar 2018 13:30:25 GMT
SOLR-11911: Wait a while for left-behind threads from executors.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/5a59b5d9
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/5a59b5d9
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/5a59b5d9

Branch: refs/heads/branch_7x
Commit: 5a59b5d95acf9d86c740c65fa413a28889541fe2
Parents: 1824297
Author: Andrzej Bialecki <ab@apache.org>
Authored: Wed Mar 14 14:27:51 2018 +0100
Committer: Andrzej Bialecki <ab@apache.org>
Committed: Wed Mar 14 14:30:04 2018 +0100

----------------------------------------------------------------------
 .../org/apache/solr/cloud/autoscaling/sim/TestLargeCluster.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/5a59b5d9/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestLargeCluster.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestLargeCluster.java
b/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestLargeCluster.java
index d302fe5..abb4958 100644
--- a/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestLargeCluster.java
+++ b/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestLargeCluster.java
@@ -30,6 +30,7 @@ import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicInteger;
 
+import com.carrotsearch.randomizedtesting.annotations.ThreadLeakLingering;
 import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
 import org.apache.commons.math3.stat.descriptive.SummaryStatistics;
 import org.apache.lucene.util.LuceneTestCase;
@@ -68,6 +69,7 @@ import static org.apache.solr.cloud.autoscaling.AutoScalingHandlerTest.createAut
  */
 @TimeoutSuite(millis = 4 * 3600 * 1000)
 @LogLevel("org.apache.solr.cloud.autoscaling=DEBUG")
+@ThreadLeakLingering(linger = 20000) // ComputePlanAction may take significant time to complete
 @LuceneTestCase.BadApple(bugUrl = "https://issues.apache.org/jira/browse/SOLR-12075")
 public class TestLargeCluster extends SimSolrCloudTestCase {
   private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());


Mime
View raw message