You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Hari Shreedharan (JIRA)" <ji...@apache.org> on 2014/03/28 01:37:14 UTC

[jira] [Commented] (FLUME-2350) Consume Order tests need to space out file creation

    [ https://issues.apache.org/jira/browse/FLUME-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13950207#comment-13950207 ] 

Hari Shreedharan commented on FLUME-2350:
-----------------------------------------

There a couple of things that need to be fixed:
* Leave time gaps so last modified do not match.
* Re-introduce lexicographical comparison if timestamps are same (this is my bad, removing the comparator in the final patch removed this as well).

I will submit a patch soon to fix this.

> 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
>
> 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)