mirror of https://github.com/apache/lucene.git
tests: close requests (doesn't cause an error)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023595 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9ec8bc6aee
commit
3944a8f84b
|
@ -146,6 +146,7 @@ public class QueryParsingTest extends SolrTestCaseJ4 {
|
|||
sort = QueryParsing.parseSort("", req);
|
||||
assertNull(sort);
|
||||
|
||||
req.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -194,6 +195,7 @@ public class QueryParsingTest extends SolrTestCaseJ4 {
|
|||
} catch (SolrException e) {
|
||||
}
|
||||
|
||||
req.close();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue