sgup432 commented on code in PR #15124:
URL: https://github.com/apache/lucene/pull/15124#discussion_r2301995217


##########
lucene/core/src/test/org/apache/lucene/search/TestLRUQueryCache.java:
##########
@@ -1062,6 +1063,38 @@ public void testBooleanQueryCachesSubClauses() throws 
IOException {
     dir.close();
   }
 
+  public void testCacheRamBytesWithALargeTermQuery() throws IOException {
+    Directory dir = newDirectory();

Review Comment:
   Yeah I am fine doing this instead of closing it manually. Though test anyway 
fails if you don't close these resources.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to