[TEST] Don't use extraFS files as legacy files in tests

This commit is contained in:
Simon Willnauer 2015-04-26 21:08:57 +02:00
parent 84636557e1
commit fe331b57b7
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ public class StoreTest extends ElasticsearchTestCase {
Store.LegacyChecksums checksums = new Store.LegacyChecksums(); Store.LegacyChecksums checksums = new Store.LegacyChecksums();
Map<String, StoreFileMetaData> legacyMeta = new HashMap<>(); Map<String, StoreFileMetaData> legacyMeta = new HashMap<>();
for (String file : store.directory().listAll()) { 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; continue;
} }
BytesRef hash = new BytesRef(); BytesRef hash = new BytesRef();