Skip to content

Conversation

@russgold
Copy link
Contributor

@russgold russgold commented Feb 1, 2022

The problem was caused by multiple calls to TestUtils.silenceOperatorLogger. Each one removes the existing log handlers and adds a new test one. The result was to confuse the special handling of log messages in unit tests. This change removes the duplicates and modifies the call to report an error on an attempt to invoke it more than once in a test.

@russgold russgold self-assigned this Feb 1, 2022
@rjeberhard rjeberhard merged commit ad4495b into release/3.3 Feb 2, 2022
@russgold russgold deleted the russ_owls96282 branch March 9, 2022 09:45
rjeberhard pushed a commit to rjeberhard/weblogic-kubernetes-operator that referenced this pull request Jun 7, 2023
* Remove duplicate calls to TestUtils.silenceOperatorLogger

* Update copyrights
rjeberhard pushed a commit to rjeberhard/weblogic-kubernetes-operator that referenced this pull request Jun 7, 2023
* Remove duplicate calls to TestUtils.silenceOperatorLogger

* Update copyrights
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants