Force the server to stop at shutdown. Hopefully this will help our tests pass regularly while running on hudson.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573897 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2007-09-08 19:47:01 +00:00
parent 5f003559b5
commit ec60f7a3ca
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ public class JettySolrRunner
private void init( String context, int port )
{
server = new Server( port );
server.setStopAtShutdown( true );
// Initialize the servlets
Context root = new Context( server, context, Context.SESSIONS );