[
https://issues.apache.org/jira/browse/FLUME-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951501#comment-13951501
]
Hari Shreedharan commented on FLUME-2350:
-----------------------------------------
This looks good. Long#compare is not available in Java 6, so I am replacing
that with selected.lastModified() - candidate.lastModified(), which is
basically the same thing.
Running tests now.
> Consume Order tests need to space out file creation
> ---------------------------------------------------
>
> Key: FLUME-2350
> URL: https://issues.apache.org/jira/browse/FLUME-2350
> Project: Flume
> Issue Type: Bug
> Reporter: Hari Shreedharan
> Attachments: FLUME-2350-0.patch
>
>
> Since the files end up getting created almost at the same time, their
> timestamps end up not being different even though they are created one after
> another. We need to add sleeps or make sure their last modified is different
> by adding 1 or 2 seconds to each consecutive file.
--
This message was sent by Atlassian JIRA
(v6.2#6252)