File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
server/src/test/java/org/elasticsearch/index/codec/vectors/cluster Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -666,9 +666,6 @@ tests:
666666- class : org.elasticsearch.upgrades.MatchOnlyTextRollingUpgradeIT
667667 method : testIndexing {upgradedNodes=1}
668668 issue : https://github.com/elastic/elasticsearch/issues/135525
669- - class : org.elasticsearch.index.codec.vectors.cluster.HierarchicalKMeansTests
670- method : testFewDifferentValues
671- issue : https://github.com/elastic/elasticsearch/issues/135538
672669
673670# Examples:
674671#
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public void testFewDifferentValues() throws IOException {
127127 assertEquals (nVectors , soarAssignments .length );
128128 // verify no duplicates exist
129129 for (int i = 0 ; i < assignments .length ; i ++) {
130- assertTrue (soarAssignments [i ] >= 0 && soarAssignments [i ] < centroids .length );
130+ assertTrue (soarAssignments [i ] >= - 1 && soarAssignments [i ] < centroids .length );
131131 assertNotEquals (assignments [i ], soarAssignments [i ]);
132132 }
133133 } else {
You can’t perform that action at this time.
0 commit comments