Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional log checking to RegressionTest. #634

Merged

Conversation

jdcove2
Copy link
Collaborator

@jdcove2 jdcove2 commented Dec 14, 2023

This PR adds optional log checking to RegressionTest. It is disabled by default and enabled by overriding getLogbackLoggerName() and returning the name of the logger to track.

@jdcove2 jdcove2 added the test-only The change only impacts test code label Dec 14, 2023
Copy link
Collaborator

@arp-0984 arp-0984 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me

@jpdahlke jpdahlke added this to the v8.0.0-M13 milestone Dec 27, 2023
Copy link
Collaborator

@fbruton fbruton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend updating an existing regression test to exercise this new feature.

@jdcove2
Copy link
Collaborator Author

jdcove2 commented Jan 4, 2024

Emissary does not currently have any uses of RegressionTest; however, I did update some uses of RegressionTest in a follow-on project and they worked as expected.

@jdcove2 jdcove2 requested a review from fbruton January 8, 2024 18:58
@jpdahlke jpdahlke merged commit 756ea91 into NationalSecurityAgency:master Jan 16, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test-only The change only impacts test code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants