mirror of https://github.com/apache/lucene.git
stop the jetty server in tearDown.
This should help the test failing problem ;) git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552760 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
058aa7ed27
commit
1dc2aad0d8
|
@ -52,6 +52,13 @@ public class TestJettySolrRunner extends SolrExampleTestBase {
|
|||
((CommonsHttpSolrServer)server).setDefaultMaxConnectionsPerHost(100);
|
||||
((CommonsHttpSolrServer)server).setMaxTotalConnections(100);
|
||||
}
|
||||
|
||||
@Override public void tearDown() throws Exception
|
||||
{
|
||||
super.tearDown();
|
||||
jetty.stop(); // stop the server
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected SolrServer getSolrServer()
|
||||
|
|
Loading…
Reference in New Issue