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

Adjusting time of data gathering in middleware reporter #268

Merged
merged 4 commits into from
Jun 11, 2021

Conversation

scalvert
Copy link
Contributor

@scalvert scalvert commented Jun 8, 2021

There's a subtle timing issue that occurs in the middleware reporter, whereby we can't guarantee that all test metadata is setup by the time it's accessed. The only way to ensure all metadata is setup for the test is by accessing it lazily, via testDone.

This will become particularly important when trying to gather additional data destined for the middleware report, such as the filepath work that's currently being implemented. We'd want to ensure we access this metadata inside pushTestResult.

@scalvert scalvert requested review from drewlee and rwjblue June 8, 2021 17:50
@scalvert scalvert added the bug label Jun 8, 2021
@scalvert scalvert requested review from rwjblue and drewlee June 9, 2021 22:42
Copy link
Contributor

@drewlee drewlee left a comment

Choose a reason for hiding this comment

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

LGTM

@scalvert scalvert merged commit 4fc30d4 into master Jun 11, 2021
@drewlee drewlee deleted the fix-metadata-timings branch December 3, 2022 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants