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

ASF GitHub Bot commented on NIFI-5871:
--------------------------------------

Github user patricker commented on the issue:

    https://github.com/apache/nifi/pull/3203
  
    @MikeThomsen I think the test is showing that this isn't a parent/child 
scenario, but showing that it's the same FlowFile from start to finish.
    
    If there were a way to inject content into `MockFlowFile`, then we could 
build one, pass that in to `enqueue` and the test would actually work.


> MockProcessSession.putAllAttributes should ignore the UUID attribute
> --------------------------------------------------------------------
>
>                 Key: NIFI-5871
>                 URL: https://issues.apache.org/jira/browse/NIFI-5871
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.8.0
>            Reporter: Alex Savitsky
>            Priority: Major
>
> Currently, the method would copy all attributes indiscriminately, but the 
> interface Javadoc specifically states that the attribute "uuid" should be 
> ignored. This leads to issues with testing, where two distinct flow files are 
> considered same in the session.



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

Reply via email to