Ilya Kovalev created NIFI-7297:
----------------------------------

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


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