Github user MikeThomsen commented on the issue:

    https://github.com/apache/nifi/pull/2517
  
    > Is that what you meant with integration tests? What do you mean with 
FetchSolrIT? Do you have a link for an example?
    
    You would create a JUnit test called `FetchSolrIT` and follow the model 
used in the MongoDB processors and others (ex. `PutMongoRecordIT`). It's a 
JUnit test that assumes a live instance of Solr and runs against that instead 
of mocks. If you name it `FetchSolrIT` instead of `FetchSolrTest` it will skip 
normal maven surefire execution and only run when the user wants it to run. 
That can be done with:
    
    `mvn clean integration-test -Pintegration-tests`


---

Reply via email to