NIFI-5344 Fix Write Ahead Log Unit Test on Windows

This closes #2819

Signed-off-by: zenfenan <zenfenan@apache.org>
This commit is contained in:
patricker 2018-06-27 07:20:10 -06:00 committed by zenfenan
parent 022b64be08
commit 3be08b7e49
1 changed files with 2 additions and 2 deletions

View File

@ -495,7 +495,7 @@ public class TestMinimalLockingWriteAheadLog {
@Test
public void testRecoverFileThatHasTrailingNULBytesAndTruncation() throws IOException {
final int numPartitions = 5;
final Path path = Paths.get("target/testRecoverFileThatHasTrailingNULBytes");
final Path path = Paths.get("target/testRecoverFileThatHasTrailingNULBytesAndTruncation");
deleteRecursively(path.toFile());
Files.createDirectories(path);
@ -569,7 +569,7 @@ public class TestMinimalLockingWriteAheadLog {
@Test
public void testRecoverFileThatHasTrailingNULBytesNoTruncation() throws IOException {
final int numPartitions = 5;
final Path path = Paths.get("target/testRecoverFileThatHasTrailingNULBytes");
final Path path = Paths.get("target/testRecoverFileThatHasTrailingNULBytesNoTruncation");
deleteRecursively(path.toFile());
Files.createDirectories(path);