aajisaka commented on PR #7349:
URL: https://github.com/apache/kyuubi/pull/7349#issuecomment-4115830984

   > For unit tests that use JAAS, we need to save the current 
javax.security.auth.login.Configuration before the test and restore it 
afterward.
   
   Thank you for the detailed analysis. Would you move the restore code using 
`beforeEach` or/and `afterEach` to ensure the original conf is restored for 
each test case? Otherwise the conf is not restored when the unit test fails.


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