Skip to content

Commit 1369293

Browse files
committed
Add more test
1 parent 31acb01 commit 1369293

File tree

1 file changed

+3
-4
lines changed
  • server/src/internalClusterTest/java/org/elasticsearch/index/store

1 file changed

+3
-4
lines changed

server/src/internalClusterTest/java/org/elasticsearch/index/store/DirectIOIT.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ public class DirectIOIT extends ESIntegTestCase {
4747

4848
@BeforeClass
4949
public static void checkSupported() {
50-
assumeTrue("Direct IO is not enabled", ES818BinaryQuantizedVectorsFormat.USE_DIRECT_IO);
51-
5250
Path path = createTempDir("directIOProbe");
5351
try (Directory dir = open(path); IndexOutput out = dir.createOutput("out", IOContext.DEFAULT)) {
5452
out.writeString("test");
@@ -73,7 +71,7 @@ protected Collection<Class<? extends Plugin>> nodePlugins() {
7371
}
7472

7573
private void indexVectors() {
76-
String type = randomFrom("bbq_flat", "bbq_hnsw");
74+
String type = randomFrom(/*"bbq_flat", */"bbq_hnsw");
7775
assertAcked(
7876
prepareCreate("foo-vectors").setSettings(Settings.builder().put(InternalSettingsPlugin.USE_COMPOUND_FILE.getKey(), false))
7977
.setMapping("""
@@ -86,7 +84,8 @@ private void indexVectors() {
8684
"index": true,
8785
"similarity": "l2_norm",
8886
"index_options": {
89-
"type": "%type%"
87+
"type": "%type%",
88+
"disable_offheap_cache_rescoring": true
9089
}
9190
}
9291
}

0 commit comments

Comments
 (0)