You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2024/09/15 20:10:46 UTC

(lucene) branch branch_9x updated: #13767: fix test failure: compress can only be true when quantized bits=4

This is an automated email from the ASF dual-hosted git repository.

mikemccand pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new a774a998be1 #13767: fix test failure: compress can only be true when quantized bits=4
a774a998be1 is described below

commit a774a998be154ce2eb19e7761712ce49d727e883
Author: Mike McCandless <mi...@apache.org>
AuthorDate: Sun Sep 15 16:10:32 2024 -0400

    #13767: fix test failure: compress can only be true when quantized bits=4
---
 .../lucene/codecs/lucene99/TestLucene99ScalarQuantizedVectorScorer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/core/src/test/org/apache/lucene/codecs/lucene99/TestLucene99ScalarQuantizedVectorScorer.java b/lucene/core/src/test/org/apache/lucene/codecs/lucene99/TestLucene99ScalarQuantizedVectorScorer.java
index 3a182c2a22c..2e4b751f9ce 100644
--- a/lucene/core/src/test/org/apache/lucene/codecs/lucene99/TestLucene99ScalarQuantizedVectorScorer.java
+++ b/lucene/core/src/test/org/apache/lucene/codecs/lucene99/TestLucene99ScalarQuantizedVectorScorer.java
@@ -165,7 +165,7 @@ public class TestLucene99ScalarQuantizedVectorScorer extends LuceneTestCase {
   }
 
   public void testScoringInt7() throws Exception {
-    vectorScoringTest(7, random().nextBoolean());
+    vectorScoringTest(7, false);
   }
 
   private void vectorScoringTest(int bits, boolean compress) throws IOException {