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 a silent reporter #2093

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Add a silent reporter #2093

merged 3 commits into from
Sep 18, 2023

Conversation

natebosch
Copy link
Member

@natebosch natebosch commented Sep 18, 2023

Resolve a flaky test by eliminating the reporter output as a
potential race condition.

Add a hidden flag to ReporterDetails since the reporter is not worth
showing in the CLI usage help. Request the silent reporter for a test
which is flaky due to interleaving of forwarded stdout with the
reporter's output. During flakes the hello and the newline can come as
separate events in the stream, so sometimes the newline is written
following unexpected reporter content.

Resolve some flaky tests by eliminating the reporter output as a
potential race condition.

Add a `hidden` flag to `ReporterDetails` since the reporter is not worth
showing in the CLI usage help. Request the silent reporter for a test
which is flaky due to interleaving of forwarded `stdout` with the
reporter's output. During flakes the `hello` and the newline can come as
separate events in the stream, so sometimes the newline is written
following unexpected reporter content.
@natebosch natebosch merged commit d8e9d87 into master Sep 18, 2023
34 checks passed
@natebosch natebosch deleted the silent-reporter branch September 18, 2023 19:37
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