From a07cd4e70bab775623dd8f023ff49ebda18f5191 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Fri, 15 Oct 2010 01:09:34 +0000 Subject: [PATCH] tests: fix resource leaks git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022802 13f79535-47bb-0310-9956-ffa450edef68 --- solr/src/test/org/apache/solr/BasicFunctionalityTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/solr/src/test/org/apache/solr/BasicFunctionalityTest.java b/solr/src/test/org/apache/solr/BasicFunctionalityTest.java index a5762565e7d..8fc4bf8cd94 100644 --- a/solr/src/test/org/apache/solr/BasicFunctionalityTest.java +++ b/solr/src/test/org/apache/solr/BasicFunctionalityTest.java @@ -566,6 +566,7 @@ public class BasicFunctionalityTest extends SolrTestCaseJ4 { // ensure field is not lazy assertTrue( d.getFieldable("test_hlt") instanceof Field ); assertTrue( d.getFieldable("title") instanceof Field ); + req.close(); } @Test @@ -588,6 +589,7 @@ public class BasicFunctionalityTest extends SolrTestCaseJ4 { // ensure field is lazy assertTrue( !( d.getFieldable("test_hlt") instanceof Field ) ); assertTrue( d.getFieldable("title") instanceof Field ); + req.close(); }