[TEST] Don't use extraFS files as legacy files in tests
This commit is contained in:
parent
84636557e1
commit
fe331b57b7
|
@ -270,7 +270,7 @@ public class StoreTest extends ElasticsearchTestCase {
|
|||
Store.LegacyChecksums checksums = new Store.LegacyChecksums();
|
||||
Map<String, StoreFileMetaData> legacyMeta = new HashMap<>();
|
||||
for (String file : store.directory().listAll()) {
|
||||
if (file.equals("write.lock") || file.equals(IndexFileNames.OLD_SEGMENTS_GEN)) {
|
||||
if (file.equals("write.lock") || file.equals(IndexFileNames.OLD_SEGMENTS_GEN) || file.startsWith("extra")) {
|
||||
continue;
|
||||
}
|
||||
BytesRef hash = new BytesRef();
|
||||
|
|
Loading…
Reference in New Issue