Github user ggthename commented on the issue:
https://github.com/apache/nifi/pull/1937
@pvillard31 I fixed those tests. But I found the failures on other
components. Is it ok?
`[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.
18:test (default-test) on project nifi-write-ahead-log: There are test
failures.
[ERROR]
[ERROR] Please refer to
D:\github\nifi\nifi-commons\nifi-write-ahead-log\target\
surefire-reports for the individual test results.
-------------------------------------------------------------------------------
Test set: org.wali.TestMinimalLockingWriteAheadLog
-------------------------------------------------------------------------------
Tests run: 12, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 7.56 sec
<<< FAILURE! - in org.wali.TestMinimalLockingWriteAheadLog
testRecoverFileThatHasTrailingNULBytesAndTruncation(org.wali.TestMinimalLockingWriteAheadLog)
Time elapsed: 0.032 sec <<< ERROR!
java.nio.channels.OverlappingFileLockException: null
at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255)
at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152)
at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:1063)
at java.nio.channels.FileChannel.lock(FileChannel.java:1053)
at
org.wali.MinimalLockingWriteAheadLog.<init>(MinimalLockingWriteAheadLog.java:187)
at
org.wali.MinimalLockingWriteAheadLog.<init>(MinimalLockingWriteAheadLog.java:108)
at
org.wali.TestMinimalLockingWriteAheadLog.testRecoverFileThatHasTrailingNULBytesAndTruncation(TestMinimalLockingWriteAheadLog.java:472)
`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---