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


##########
pom.xml:
##########
@@ -742,6 +746,8 @@
                             <exclude>**/*ITSpec.class</exclude>
                         </excludes>
                         
<redirectTestOutputToFile>true</redirectTestOutputToFile>
+                        <!-- Runs Mockito as a Java Agent instead of relying 
on self-attachment -->
+                        <argLine>@{argLine} ${surefire.opts} 
-javaagent:"${org.mockito:mockito-core:jar}"</argLine>

Review Comment:
   Can we also configure the Mockito Java agent for maven-failsafe-plugin? The 
integration-test workflow still reports Mockito self-attachment warnings for 
tests run by Failsafe.



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