Hari Shreedharan created FLUME-1504:
---------------------------------------

             Summary: 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


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

        

Reply via email to