mirror of https://github.com/apache/lucene.git
tests: fix double close of request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663821 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3d6de9371d
commit
8d6657a246
|
@ -323,9 +323,6 @@ public class TestHarness extends BaseTestHarness {
|
||||||
StringWriter sw = new StringWriter(32000);
|
StringWriter sw = new StringWriter(32000);
|
||||||
QueryResponseWriter responseWriter = core.getQueryResponseWriter(req);
|
QueryResponseWriter responseWriter = core.getQueryResponseWriter(req);
|
||||||
responseWriter.write(sw,req,rsp);
|
responseWriter.write(sw,req,rsp);
|
||||||
|
|
||||||
req.close();
|
|
||||||
|
|
||||||
return sw.toString();
|
return sw.toString();
|
||||||
} finally {
|
} finally {
|
||||||
req.close();
|
req.close();
|
||||||
|
|
Loading…
Reference in New Issue