[
https://issues.apache.org/jira/browse/FLUME-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hari Shreedharan updated FLUME-1504:
------------------------------------
Attachment: FLUME-1504.patch
Stop gap patch till Brock's refactoring to prevent timeouts
> 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
> 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