mirror of https://github.com/apache/lucene.git
tests: fix resource leak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022791 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
048e07e582
commit
9c04165596
|
@ -65,5 +65,7 @@ public class TestBinaryResponseWriter extends AbstractSolrTestCase {
|
||||||
assertEquals("Returned object must be a string", "java.lang.String", document.getFieldValue("uuid").getClass().getName());
|
assertEquals("Returned object must be a string", "java.lang.String", document.getFieldValue("uuid").getClass().getName());
|
||||||
assertEquals("Wrong UUID string returned", s, document.getFieldValue("uuid"));
|
assertEquals("Wrong UUID string returned", s, document.getFieldValue("uuid"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
req.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue