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

Mitigate go test bug with missing subtest pass events #191

Merged

Conversation

dnephin
Copy link
Member

@dnephin dnephin commented Apr 17, 2021

Inspired by the changes in #188
Fixes #141

Previously all missing events were reported. This commit omits events for any missing subtests pass events, so that subtests that passed do not show as failed.

The upstream bug was fixed in go1.16, so this mitigation probably does not need to stick around for long.

@aaronlehmann I added you as a co-author to this commit since this was heavily inspired by your change. I hope that is ok.

Previously all missing events were reported. This commit omits events
for any missed subtests, so that subtests that passed do not show as
failed.

The upstream bug was fixed in go1.16, so this mitigation probably does
not need to stick around for long.

Co-Authored-By: Aaron Lehmann <alehmann@netflix.com>
Copy link
Contributor

@aaronlehmann aaronlehmann left a comment

Choose a reason for hiding this comment

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

LGTM

@dnephin dnephin merged commit bb9679f into gotestyourself:main Apr 18, 2021
@dnephin dnephin deleted the handle-missing-subtest-pass-event branch April 18, 2021 17:51
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.

Passing tests reported as failures in summary
2 participants