[
https://issues.apache.org/jira/browse/FLUME-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brock Noland resolved FLUME-1504.
---------------------------------
Resolution: Fixed
Fix Version/s: v1.3.0
Committed here
https://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git;a=commit;h=0c73dc7e784bd4bc67c1e1d3a91470769ac0473e
Thank you for your patch Hari!
> Test file channel times out randomly
> ------------------------------------
>
> Key: FLUME-1504
> URL: https://issues.apache.org/jira/browse/FLUME-1504
> Project: Flume
> Issue Type: Bug
> Reporter: Hari Shreedharan
> Assignee: Hari Shreedharan
> Fix For: v1.3.0
>
> Attachments: FLUME-1504.patch
>
>
> Some tests wait on checkpoint.lastModified and end up timing out because the
> checkpoint may have occurred the check itself. Also:
> {code}
> if(t1 - checkpoint.lastModified() > 15000){
> throw new TimeoutException("Checkpoint was expected,"
> + " but did not happen");
> }
> {code}
> does not make sense. It should be System.currentTimeMillis() -
> checkpoint.lastModified()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira