sodonnel commented on a change in pull request #2959:
URL: https://github.com/apache/ozone/pull/2959#discussion_r778207720



##########
File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/server/TestSecureContainerServer.java
##########
@@ -125,6 +127,7 @@
   @BeforeClass
   public static void setup() throws Exception {
     DefaultMetricsSystem.setMiniClusterMode(true);
+    ExitUtils.disableSystemExit();

Review comment:
       OK - makes sense. I guess `DM_EXIT` would catch any new instances of 
System.exit(), but I'm not sure it would catch a case where a new test invokes 
existing code which already has a System.exit() in place. However there 
probably isn't much we can do about that. So I am happy with the changes here.




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to