From fe331b57b795e287829ab1fe2a281622c459d62a Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Sun, 26 Apr 2015 21:08:57 +0200 Subject: [PATCH] [TEST] Don't use extraFS files as legacy files in tests --- src/test/java/org/elasticsearch/index/store/StoreTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/index/store/StoreTest.java b/src/test/java/org/elasticsearch/index/store/StoreTest.java index 3a60b62ea3a..c4e7ae9a7ea 100644 --- a/src/test/java/org/elasticsearch/index/store/StoreTest.java +++ b/src/test/java/org/elasticsearch/index/store/StoreTest.java @@ -270,7 +270,7 @@ public class StoreTest extends ElasticsearchTestCase { Store.LegacyChecksums checksums = new Store.LegacyChecksums(); Map 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();