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

ASF subversion and git services commented on NIFI-5862:
-------------------------------------------------------

Commit 6c1c9017e98b8467296bc90746dab73a60cb9c1b in nifi's branch 
refs/heads/master from [~patricker]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=6c1c901 ]

NIFI-5862 MockRecordParser Has Bad Logic for failAfterN

This closes #3195.

Signed-off-by: Koji Kawamura <[email protected]>


> MockRecordParser Has Bad Logic for failAfterN
> ---------------------------------------------
>
>                 Key: NIFI-5862
>                 URL: https://issues.apache.org/jira/browse/NIFI-5862
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Peter Wicks
>            Assignee: Peter Wicks
>            Priority: Minor
>             Fix For: 1.9.0
>
>
> `MockRecordParser` has a function that allows it to throw an exception after 
> a certain number of records have been read. This feature is not working at 
> all, and instead the reader fails immediately without reading any records.
> None of the test cases check for how many records were read, so you can only 
> see this in the console, for example on `TestSplitRecord.testReadFailure`:
> As Is: `Intentional Unit Test Exception because 0 records have been read`
> As Should Be: `Intentional Unit Test Exception because 2 records have been 
> read`
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to