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

Process junit xml even when full junit is not enabled #935

Merged
merged 2 commits into from
Aug 8, 2020
Merged

Process junit xml even when full junit is not enabled #935

merged 2 commits into from
Aug 8, 2020

Conversation

kozaxinan
Copy link
Contributor

@kozaxinan kozaxinan commented Aug 5, 2020

Fixes #902

#798 introduced a new argument full-junit-result. It is false by default. First problem, it is not added to keys list so flank doctor report new argument as unknown key.

Second problem is about junit xml report for smart flank run. full-junit-result and legacy-junit-result are used to decide to send junit report. As I understand from #798, there are now there junit result, legacy and full. Consideration; when both flag are true, flank can throw exception at argument checking phase.

Test Plan

How do we know the code works?

While using flank without legacy and full junit test report, smart test sharding and junit xml upload need to work.

Checklist

  • Documented
  • Unit tested
  • release_notes.md updated (Waiting for review before updating notes)

@bootstraponline
Copy link
Contributor

Thanks for the pull request! The team will review this soon.

adamfilipow92
adamfilipow92 previously approved these changes Aug 6, 2020
Copy link
Contributor

@adamfilipow92 adamfilipow92 left a comment

Choose a reason for hiding this comment

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

  • Smart flank report uploaded
  • All check passed
  • Code looks good
  • Added tests
    Great job 👍

@bootstraponline bootstraponline marked this pull request as ready for review August 6, 2020 21:43
jan-goral
jan-goral previously approved these changes Aug 7, 2020
Copy link
Contributor

@jan-goral jan-goral left a comment

Choose a reason for hiding this comment

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

@kozaxinan Great thanks for your contribution and recommendation!
We will implement proper validation for the clash of full-junit-result and legacy-junit-result.

@kozaxinan
Copy link
Contributor Author

kozaxinan commented Aug 7, 2020

I will update the release notes and merge if everything looks good. Next step is preparing fladle for full xml report.

@bootstraponline bootstraponline dismissed stale reviews from jan-goral and adamfilipow92 via 53cc854 August 8, 2020 23:46
@bootstraponline bootstraponline merged commit cfedb49 into Flank:master Aug 8, 2020
@kozaxinan kozaxinan deleted the 902-enable-smart-for-default-junit-report branch August 10, 2020 20:05
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.

Clearly explain how to enable smart flank for Android in documentation
4 participants