Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benwtrent committed Jan 29, 2025
1 parent 379aee4 commit 1ad532e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ protected boolean mergeIsStable() {
// suppress this test from base class: merges for knn graphs are not stable due to connected
// components
// logic
return true;
return false;
}

private int getVectorsMaxDimensions(String fieldName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
*/
package org.apache.lucene.tests.index;

import static org.apache.lucene.tests.util.LuceneTestCase.VERBOSE;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
Expand Down Expand Up @@ -193,9 +191,6 @@ public PostingsFormat getPostingsFormatForField(String name) {
// Safety:
assert previousMappings.size() < 10000 : "test went insane";
}
if (VERBOSE) {
System.out.println("RandomPostingsFormat: " + name + " -> " + codec);
}
return codec;
}

Expand All @@ -208,9 +203,6 @@ public DocValuesFormat getDocValuesFormatForField(String name) {
// Safety:
assert previousDVMappings.size() < 10000 : "test went insane";
}
if (VERBOSE) {
System.out.println("RandomDocValuesFormat: " + name + " -> " + codec);
}
return codec;
}

Expand All @@ -223,9 +215,6 @@ public KnnVectorsFormat getKnnVectorsFormatForField(String name) {
// Safety:
assert previousKnnMappings.size() < 10000 : "test went insane";
}
if (VERBOSE) {
System.out.println("RandomKnnFormat: " + name + " -> " + format);
}
return format;
}

Expand Down

0 comments on commit 1ad532e

Please sign in to comment.