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:
Yonik Seeley 2010-10-17 23:14:59 +00:00
parent 9ec8bc6aee
commit 3944a8f84b
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}
}