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:
Ryan McKinley 2007-07-03 09:24:41 +00:00
parent 058aa7ed27
commit 1dc2aad0d8
1 changed files with 7 additions and 0 deletions

View File

@ -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()