pvillard31 commented on code in PR #10640:
URL: https://github.com/apache/nifi/pull/10640#discussion_r2619499046


##########
nifi-extension-bundles/nifi-jolt-bundle/nifi-jolt-processors/src/test/java/org/apache/nifi/processors/jolt/TestJoltTransformRecord.java:
##########
@@ -55,14 +55,18 @@
 import java.util.function.BiFunction;
 import java.util.stream.Stream;
 
+import org.apache.commons.io.FileUtils;
+
 import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
 public class TestJoltTransformRecord {
 
     final static String CHAINR_SPEC_PATH = 
"src/test/resources/specs/chainrSpec.json";
-    static String chainrSpecContents;
+    private static final String CUSTOM_CLASS_NAME = 
"org.apache.nifi.processors.jolt.TestCustomJoltTransform";
+    private static String chainrSpecContents;
+    private static Path customTransformJar;
+    private static final Path CUSTOM_JAR_DIRECTORY = Paths.get("target", 
"test-custom-jolt", "record");

Review Comment:
   I did try with TempDir first but the build was not happy on Windows and 
could not find a way to make it work. See 
https://github.com/apache/nifi/actions/runs/20206840621/job/58006671191



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to