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

test: mute logs for passing tests #102

Merged
merged 1 commit into from
Aug 30, 2024
Merged

test: mute logs for passing tests #102

merged 1 commit into from
Aug 30, 2024

Conversation

skyqrose
Copy link
Member

Asana Task: 🛠 Mute noisy logging during orbit tests, which came out of 📐 Orbit: allow manually associating a badge serial with an operator for testing

This approach, which was suggested in navinpeiris/logster#29 (comment) , is even better than what I was expecting. It mutes all logs in passing tests, and collects any logs for failing tests together. Example:

Test failure. Assert false. The following output was logged.

Description goes here.
Include screenshots if relevant.

Checklist

  • Tests:
    • ( ) Has tests
    • (x) Doesn't need tests
    • ( ) Tests deferred (with justification)
  • Product/Design sign off:
    • ( ) Okayed the plan for the feature (e.g. the design files, or the Asana task)
    • ( ) Reviewed the feature as implemented (e.g. on dev-green, or saw screenshots)
    • (x) No review needed

@skyqrose skyqrose requested a review from a team as a code owner August 30, 2024 14:54
Copy link
Member

@lemald lemald left a comment

Choose a reason for hiding this comment

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

Nice!

@skyqrose skyqrose merged commit 9e5fc91 into main Aug 30, 2024
4 checks passed
@skyqrose skyqrose deleted the sqr-test branch August 30, 2024 17:53
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.

2 participants