[ 
https://issues.apache.org/jira/browse/NIFI-7297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard resolved NIFI-7297.
----------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

> Mock bundle: inputStream created py MockProcessSession doesn't count 
> avalable() bytes
> -------------------------------------------------------------------------------------
>
>                 Key: NIFI-7297
>                 URL: https://issues.apache.org/jira/browse/NIFI-7297
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Ilya Kovalev
>            Priority: Minor
>             Fix For: 1.12.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> MockProcessSession.read(FlowFile file) return `InputStream`  doesn't count 
> available bytes.
> due testing custom processor that read flowfile by following example
> BufferedReader reader = new BufferedReader(new 
> InputStreamReader(inputStream)) ;
> while (reader.ready()){
> tests will fail because available() return constantly 0 and reader's buffer 
> is empty



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to