Skip to content

Commit 2f64d20

Browse files
authored
[test] Unmute FsDirectoryFactoryTests#testPreload (#115438)
Resolve #110211
1 parent f2b146e commit 2f64d20

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ tests:
1717
- class: "org.elasticsearch.xpack.deprecation.DeprecationHttpIT"
1818
issue: "https://github.com/elastic/elasticsearch/issues/108628"
1919
method: "testDeprecatedSettingsReturnWarnings"
20-
- class: org.elasticsearch.index.store.FsDirectoryFactoryTests
21-
method: testPreload
22-
issue: https://github.com/elastic/elasticsearch/issues/110211
2320
- class: "org.elasticsearch.xpack.searchablesnapshots.FrozenSearchableSnapshotsIntegTests"
2421
issue: "https://github.com/elastic/elasticsearch/issues/110408"
2522
method: "testCreateAndRestorePartialSearchableSnapshot"

server/src/test/java/org/elasticsearch/index/store/FsDirectoryFactoryTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ private void doTestPreload(String... preload) throws IOException {
115115
var func = fsDirectoryFactory.preLoadFuncMap.get(mmapDirectory);
116116
assertNotEquals(fsDirectoryFactory.preLoadFuncMap.get(mmapDirectory), MMapDirectory.ALL_FILES);
117117
assertNotEquals(fsDirectoryFactory.preLoadFuncMap.get(mmapDirectory), MMapDirectory.NO_FILES);
118-
assertTrue(func.test("foo.dvd", newIOContext(random())));
119-
assertTrue(func.test("foo.tmp", newIOContext(random())));
120118
for (String ext : preload) {
121119
assertTrue("ext: " + ext, func.test("foo." + ext, newIOContext(random())));
122120
}

0 commit comments

Comments
 (0)