mirror of https://github.com/apache/lucene.git
SOLR-369 -- EmbeddedSolrServer needs to call req.close() after query. Thanks Renato
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@581065 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
54e45e64d8
commit
6fe636ca06
|
@ -113,6 +113,7 @@ public class EmbeddedSolrServer extends BaseSolrServer
|
|||
StringWriter out = new StringWriter();
|
||||
responseWriter.write(out, req, rsp);
|
||||
|
||||
req.close();
|
||||
return _processor.processResponse( new StringReader( out.toString() ) );
|
||||
}
|
||||
catch( IOException iox ) {
|
||||
|
|
Loading…
Reference in New Issue