dan-s1 commented on code in PR #6823:
URL: https://github.com/apache/nifi/pull/6823#discussion_r1062980880
##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/test/java/org/apache/nifi/nar/AbstractNativeLibHandlingClassLoaderTest.java:
##########
@@ -61,13 +64,12 @@ public class AbstractNativeLibHandlingClassLoaderTest {
private boolean isOsMaxOsx;
private boolean isOsLinux;
- @Before
+ @BeforeEach
public void setUp() throws Exception {
- initMocks(this);
tempDirectory =
Files.createTempDirectory(this.getClass().getSimpleName());
Review Comment:
Shouldn't Junit 5 `@TempDir` be used for this i.e. annotate the variable
tempDirectory with it on line 56?
--
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]