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

When parsing an XML result file fails, don't fail while merging subsequent test results #515

Conversation

jschear
Copy link
Contributor

@jschear jschear commented Nov 9, 2021

Presently, when parsing an XML result file fails, all subsequent reports are skipped because the NSError instance is being reused. This PR fixes that issue and adds a test case.

@jschear jschear force-pushed the js/bugfix_invalid_xml_breaks_merging branch from 2e472ac to afd8e3c Compare November 9, 2021 19:43
@jschear
Copy link
Contributor Author

jschear commented Nov 9, 2021

I'm not sure if the failing check is related to my changes. It looks like the same test failed on master: https://github.com/MobileNativeFoundation/bluepill/runs/3747110142?check_suite_focus=true

Copy link
Member

@ob ob left a comment

Choose a reason for hiding this comment

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

Good find! Thanks for also adding a test case. I've re-run the CI jobs but the failure does look unrelated... let's see if they pass on retry.

Copy link
Contributor

@ravimandala ravimandala left a comment

Choose a reason for hiding this comment

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

Thanks for the fix.

@ravimandala
Copy link
Contributor

I saw some executions where this happened and I see how this could skip the subsequent reports that might be perfectly valid. Thanks again for the fix.

@ravimandala ravimandala merged commit d3a264f into MobileNativeFoundation:master Nov 23, 2021
@jschear jschear deleted the js/bugfix_invalid_xml_breaks_merging branch December 15, 2021 02:29
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.

None yet

3 participants