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

Hudson commented on FLUME-2304:
-------------------------------

SUCCESS: Integrated in flume-trunk #542 (See 
[https://builds.apache.org/job/flume-trunk/542/])
FLUME-2304. DatasetSink test fails unexpectedly. (hshreedharan: 
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=492cd8d08cab347e02e43805b47435413d16937c)
* 
flume-ng-sinks/flume-dataset-sink/src/test/java/org/apache/flume/sink/kite/TestDatasetSink.java


> DatasetSink test fails unexpectedly
> -----------------------------------
>
>                 Key: FLUME-2304
>                 URL: https://issues.apache.org/jira/browse/FLUME-2304
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>            Reporter: Ryan Blue
>            Assignee: Ryan Blue
>         Attachments: FLUME-2304-1.patch
>
>
> One of the tests in the new DatasetSink can fail unexpectedly. It tests that 
> the background process rolls the backing files correctly, waiting until the 
> roller should have run and then reading the file. The part that fails is just 
> after the initial call to process(), the test asserts that the records are 
> not yet available. If for some reason the background thread has run and 
> rolled the file, it will fail although everything works correctly.
> This was introduced when the rolling was changed to be proactive. Lazy 
> rolling prevented a race.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to