Skip to content

Commit aab655c

Browse files
committed
Fix InternalEngineTests#testStoreHonorsLuceneVersion.
This is a forward-port of a bugfix we found as part of backporting #65783.
1 parent 9612c9a commit aab655c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/elasticsearch/index/engine/InternalEngineTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5528,7 +5528,7 @@ public void testStoreHonorsLuceneVersion() throws IOException {
55285528
.put(indexSettings())
55295529
.put(IndexMetadata.SETTING_VERSION_CREATED, createdVersion).build();
55305530
IndexSettings indexSettings = IndexSettingsModule.newIndexSettings("test", settings);
5531-
try (Store store = createStore();
5531+
try (Store store = createStore(indexSettings, newDirectory());
55325532
InternalEngine engine = createEngine(config(indexSettings, store, createTempDir(), NoMergePolicy.INSTANCE, null))) {
55335533
ParsedDocument doc = testParsedDocument("1", null, new Document(),
55345534
new BytesArray("{}".getBytes("UTF-8")), null);

0 commit comments

Comments
 (0)