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


##########
lucene/core/src/java/org/apache/lucene/internal/vectorization/VectorizationProvider.java:
##########
@@ -198,6 +201,11 @@ private static void ensureCaller() {
   private static final class Holder {
     private Holder() {}
 
-    static final VectorizationProvider INSTANCE = lookup(false);
+    // TODO: this is not quite right. But we should be able to run tests with 
Panama Vector
+    static boolean testMode() {
+      return TESTS_VECTOR_SIZE.isPresent() || TESTS_FORCE_INTEGER_VECTORS;

Review Comment:
   This is not quite right, but it should be possible to run tests with Panama 
Vector (but our test runner always sets these properties?)



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