From 3be08b7e495ea55593e5687fe21f48d3b89e10ea Mon Sep 17 00:00:00 2001 From: patricker Date: Wed, 27 Jun 2018 07:20:10 -0600 Subject: [PATCH] NIFI-5344 Fix Write Ahead Log Unit Test on Windows This closes #2819 Signed-off-by: zenfenan --- .../test/java/org/wali/TestMinimalLockingWriteAheadLog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nifi-commons/nifi-write-ahead-log/src/test/java/org/wali/TestMinimalLockingWriteAheadLog.java b/nifi-commons/nifi-write-ahead-log/src/test/java/org/wali/TestMinimalLockingWriteAheadLog.java index 20009d12d8..265c5478a7 100644 --- a/nifi-commons/nifi-write-ahead-log/src/test/java/org/wali/TestMinimalLockingWriteAheadLog.java +++ b/nifi-commons/nifi-write-ahead-log/src/test/java/org/wali/TestMinimalLockingWriteAheadLog.java @@ -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);