[TEST] Don't corrupt extraFS files

This commit is contained in:
Simon Willnauer 2015-09-30 20:02:55 +02:00
parent f2ae29a1cb
commit 9d12c38f44
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ public class RecoverySourceHandlerTests extends ESTestCase {
CorruptionUtils.corruptFile(getRandom(), FileSystemUtils.files(tempDir, (p) -> CorruptionUtils.corruptFile(getRandom(), FileSystemUtils.files(tempDir, (p) ->
(p.getFileName().toString().equals("write.lock") || (p.getFileName().toString().equals("write.lock") ||
Files.isDirectory(p)) == false)); p.getFileName().toString().startsWith("extra")) == false));
Store targetStore = newStore(createTempDir(), false); Store targetStore = newStore(createTempDir(), false);
try { try {
handler.sendFiles(store, metas.toArray(new StoreFileMetaData[0]), (md) -> { handler.sendFiles(store, metas.toArray(new StoreFileMetaData[0]), (md) -> {