-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Print reason for test skipped in CI #74451
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
Conversation
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 9e55e75 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
f5195c5 to
a78684c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # patching library code to add verbosity to test outputs | |
| # patching library code to add verbosity to test outputs: the default captures verbose_str as skip, | |
| # but we want it to be skip reason. |
6bf3cf2 to
9e55e75
Compare
janeyx99
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! The test reports don't seem to have changed, so this is good to land :)
|
@tenpercent has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: Issue: #69014 (skip reason is not printed for tests running in CI) Cause: locally tests are fired with testrunner that is built into unittest. When IN_CI env variable is true - tests are fired with xml test runner from unittest-xml-reporting. They have different summary printing properties Solution: patching printing logic in unittest-xml-reporting when a test is skipped Pull Request resolved: #74451 Test Plan: examine CI run Reviewed By: janeyx99 Differential Revision: D35050675 Pulled By: tenpercent fbshipit-source-id: e3421687d68932079ba156153abeefee368b2fb3
|
Hey @tenpercent. |
Summary: Issue: #69014 (skip reason is not printed for tests running in CI) Cause: locally tests are fired with testrunner that is built into unittest. When IN_CI env variable is true - tests are fired with xml test runner from unittest-xml-reporting. They have different summary printing properties Solution: patching printing logic in unittest-xml-reporting when a test is skipped Pull Request resolved: #74451 Test Plan: examine CI run Reviewed By: janeyx99 Differential Revision: D35050675 Pulled By: tenpercent fbshipit-source-id: e3421687d68932079ba156153abeefee368b2fb3 (cherry picked from commit e2356d8)
Issue: #69014 (skip reason is not printed for tests running in CI)
Cause: locally tests are fired with testrunner that is built into unittest. When IN_CI env variable is true - tests are fired with xml test runner from unittest-xml-reporting. They have different summary printing properties
Solution: patching printing logic in unittest-xml-reporting when a test is skipped
Test plan: examine CI run