[
https://issues.apache.org/jira/browse/FLUME-2058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13670038#comment-13670038
]
Roshan Naik commented on FLUME-2058:
------------------------------------
testInvalidCapacityZero[0](org.apache.flume.channel.file.TestFlumeEventQueue):
Unexpected exception, expected<java.lang.IllegalArgumentException> but
was<java.lang.AssertionError>
testInvalidCapacityNegative[0](org.apache.flume.channel.file.TestFlumeEventQueue):
Unexpected exception, expected<java.lang.IllegalArgumentException> but
was<java.lang.AssertionError>
testInvalidCapacityZero[1](org.apache.flume.channel.file.TestFlumeEventQueue):
Unexpected exception, expected<java.lang.IllegalArgumentException> but
was<java.lang.AssertionError>
testInvalidCapacityNegative[1](org.apache.flume.channel.file.TestFlumeEventQueue):
Unexpected exception, expected<java.lang.IllegalArgumentException> but
was<java.lang.AssertionError>
Assertions of successful checkpoint file deletions are failing.
> TestFlumeEventQueue in FileChannel fails on Windows
> ----------------------------------------------------
>
> Key: FLUME-2058
> URL: https://issues.apache.org/jira/browse/FLUME-2058
> Project: Flume
> Issue Type: Bug
> Components: File Channel, Test, Windows
> Affects Versions: v1.3.1
> Reporter: Roshan Naik
> Assignee: Roshan Naik
> Fix For: v1.4.0
>
>
> Windows does not allow deletion of files that are in use. Java does not yet
> allow explicitly unmapping memory mapped files so until these files are
> unmapped by the GC, we cannot delete them explicitly.
> Checkpoint files are being reused across tests. Deletion of checkpoint files
> fails in these tests as the file memory mapped.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira