mirror of https://github.com/apache/nifi.git
NIFI-904 mock controller service fix
Signed-off-by: joewitt <joewitt@apache.org>
This commit is contained in:
parent
d39848f06e
commit
85cb5dd1e7
|
@ -534,6 +534,7 @@ public class StandardProcessorTestRunner implements TestRunner {
|
|||
|
||||
final ComponentLog logger = new MockProcessorLog(identifier, service);
|
||||
final MockControllerServiceInitializationContext initContext = new MockControllerServiceInitializationContext(requireNonNull(service), requireNonNull(identifier), logger);
|
||||
initContext.addControllerServices(context);
|
||||
service.initialize(initContext);
|
||||
|
||||
final Map<PropertyDescriptor, String> resolvedProps = new HashMap<>();
|
||||
|
|
Loading…
Reference in New Issue