You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2021/12/25 21:11:34 UTC
[GitHub] [logging-log4j2] garydgregory commented on pull request #658: Fix tests not restoring system properties
garydgregory commented on pull request #658:
URL: https://github.com/apache/logging-log4j2/pull/658#issuecomment-1001072849
> Isn't there a mechanism we can hook into to take a snapshot of existing properties before and restoring them after a test method?
Yes, there's an app for that ;-) https://junit-pioneer.org/docs/system-properties/
--
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: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org