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
test: make several slow package unit test support run parallel #13431
Conversation
gaolei seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #13431 +/- ##
===========================================
Coverage 80.1686% 80.1686%
===========================================
Files 471 471
Lines 114062 114062
===========================================
Hits 91442 91442
Misses 15465 15465
Partials 7155 7155 |
/run-all-tests |
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.
LGTM
LGTM |
/merge |
/run-all-tests |
@glorv merge failed. |
/run-all-tests |
/run-integration-copr-test |
What problem does this PR solve?
make several package unit test support run unit test parallel to speed up unit test running
What is changed and how it works?
some unit test need to change global variables to set up running environment, thus make it impossible to run in parallel. By move these test into independent test suite and use
SerialSuites
instead ofSuite
, we can make sure they will still run in serial, so it will be safe to open the parallel flag for other tests.Here is the result:
Before change:
After change:
Check List
Tests
Code changes
Side effects
Related changes