I am learning how Nifi works.
/nifi-framework-core/src/test/java/org/apache/nifi/controller/StandardFlowServiceTest.java
Test fails when trying to create VolatileProvenanceRepository
java.lang.ClassNotFoundException:
org.apache.nifi.provenance.VolatileProvenanceRepository
This happens inside Before block
@Before
public void setup() throws Exception {
properties = NiFiProperties.getInstance();
mockFlowFileEventRepository = mock(FlowFileEventRepository.class);
mockUserService = mock(UserService.class);
flowController =
FlowController.createStandaloneInstance(mockFlowFileEventRepository,
properties, mockUserService, mockEncryptor);
flowService =
StandardFlowService.createStandaloneInstance(flowController, properties,
mockEncryptor);
}
How I can run test?
Thanks
Toivo
--
View this message in context:
http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/Test-fails-java-lang-ClassNotFoundException-org-apache-nifi-provenance-VolatileProvenanceRepository-tp2011.html
Sent from the Apache NiFi (incubating) Developer List mailing list archive at
Nabble.com.