mirror of https://github.com/apache/lucene.git
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:
parent
5f003559b5
commit
ec60f7a3ca
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue