Github user peter-gergely-horvath commented on the issue:

    https://github.com/apache/nifi/pull/2872
  
    @MikeThomsen This is kind of tricky: NiFi flows refer the precise version 
of NiFi within the flow XML file, so you have something like this for the 
processor definitions:
    ```
          <class>org.apache.nifi.processors.standard.GetHTTP</class>
          <bundle>
            <group>org.apache.nifi</group>
            <artifact>nifi-standard-nar</artifact>
            <version>1.7.1</version>
          </bundle>
    ```
    
    When you export a flow file to test, I would expect the you to use 
precisely the same NiFi version as the one used to export the flow file.
    
    I think there is a little bit of confusion here: please note that these 
tests do not test the test-harness. The test-harness itself is not tested (kind 
of a chicken-and-egg issue): these test cases are merely _samples_, which are 
referenced in the documentation: they demonstrate how an _end-user_ could 
create test cases for his/her own flows.
    
    Please download the ZIP of NiFi 1.7.1 to the `Downloads` directory within 
your user home (referenced by 
`org.apache.nifi.testharness.samples.Constants#NIFI_ZIP_DIR` as 
    `new File(System.getProperty("user.home"), "Downloads")` ) and try running 
the test case again.


---

Reply via email to