Fix for TestFlumeEventQueue failures in FileChannel on Windows
Review Request #11536 - Created May 30, 2013 and updated
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. Fix: Not reusing checkpoint files to avoid deletion problems. Also ensuring files are setup to be deleted by jvm on exit.
TestFlumeEventQueue test now pass on Windows.