ChrisHegarty commented on code in PR #13560:
URL: https://github.com/apache/lucene/pull/13560#discussion_r1672214121


##########
lucene/core/src/test/org/apache/lucene/store/TestMMapDirectory.java:
##########
@@ -141,4 +146,57 @@ public void testWithRandom() throws Exception {
       }
     }
   }
+
+  // Opens the input with IOContext.READONCE to ensure slice and clone are 
appropriately confined
+  public void testConfined() throws Exception {
+    assumeTrue("Only testable with memory segments", 
Runtime.version().feature() >= 19);

Review Comment:
   ah ha! that is what I was looking for. Thanks!



-- 
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