NIFI-11319 Fixing TestStatelessBootstrap::testClassNotAllowed (#7070)

This commit is contained in:
simonbence 2023-03-22 21:23:44 +01:00 committed by GitHub
parent c7df46eefd
commit f062b0d1f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.