Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.1
-
None
-
None
Description
TestReliableSpoolingFileEventReader needs some more modification in addition to the fix provided in FLUME-2505
1) Needed to add semaphore2 to ensure that new file gets created before the second listing, without this readEventsForFilesInDir() can complete before the new file gets created
2) had to remove renameTo and instead create the newfile, for the directory listing to pick the new file