Skip to content

Commit

Permalink
NIFI-11319 Fixing TestStatelessBootstrap::testClassNotAllowed (apache…
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbence authored Mar 22, 2023
1 parent c7df46e commit f062b0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void testClassNotAllowed() throws IOException, ClassNotFoundException {
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.
Expand Down

0 comments on commit f062b0d

Please sign in to comment.