mirror of https://github.com/apache/nifi.git
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:
parent
022b64be08
commit
3be08b7e49
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue