mirror of https://github.com/apache/nifi.git
NIFI-11319 Fixing TestStatelessBootstrap::testClassNotAllowed (#7070)
This commit is contained in:
parent
c7df46eefd
commit
f062b0d1f1
|
@ -66,7 +66,7 @@ public class TestStatelessBootstrap {
|
|||
final String classToLoad = "org.apache.nifi.stateless.bootstrap.RunStatelessFlow";
|
||||
|
||||
// A directory for NARs, jars, etc. that are allowed by the AllowListClassLoader
|
||||
final File narDirectory = new File("target");
|
||||
final File narDirectory = new File("target/generated-sources");
|
||||
|
||||
// Create a URLClassLoader to use for the System ClassLoader. This will load the classes from the target/ directory.
|
||||
// Then create an AllowListClassLoader that will not allow these classes through.
|
||||
|
|
Loading…
Reference in New Issue