Skip to content

feat(zaptest): add option to suppress logging after test finishes - #1603

Open
AdamMagued wants to merge 1 commit into
uber-go:masterfrom
AdamMagued:fix-issue-1526
Open

AdamMagued wants to merge 1 commit into
uber-go:masterfrom
AdamMagued:fix-issue-1526

Conversation

@AdamMagued

Copy link
Copy Markdown

Fixes #1526

Summary

  • Added zaptest option to ignore or suppress log messages emitted after test completion to prevent panics in async goroutines.
  • Added unit tests verifying post-completion log suppression.

Verified via container sandbox test suite.

Signed-off-by: AdamMagued <adamismailmageud@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add zaptest option to suppress logging after test completion

1 participant