lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [28/32] lucene-solr:jira/http2: SOLR-12801: Fix thread leak in test.
Date Sat, 01 Dec 2018 17:10:16 GMT
SOLR-12801: Fix thread leak in test.


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

Branch: refs/heads/jira/http2
Commit: 9b0b9032e2571b3a37aef93d823161b1b934381e
Parents: 33c40a8
Author: markrmiller <markrmiller@apache.org>
Authored: Sat Dec 1 00:50:54 2018 -0600
Committer: markrmiller <markrmiller@apache.org>
Committed: Sat Dec 1 00:53:12 2018 -0600

----------------------------------------------------------------------
 .../apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9b0b9032/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.java
b/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.java
index bdf0737..ed9aac2 100644
--- a/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.java
+++ b/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.java
@@ -215,7 +215,7 @@ public class TestSimDistributedQueue extends SolrTestCaseJ4 {
       super.tearDown();
     } catch (Exception exc) {
     }
-    executor.shutdown();
+    ExecutorUtil.shutdownAndAwaitTermination(executor);
   }
 
 }


Mime
View raw message