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

fix(test):execute unit test parallel #5573

Closed
wants to merge 0 commits into from

Conversation

lxcmyf
Copy link
Contributor

@lxcmyf lxcmyf commented Nov 7, 2023

What does this PR do?
execute unit test parallel

Why are these changes required?

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@lvs007 lvs007 requested review from jwrct and halibobo1205 November 10, 2023 04:01
@codecov-commenter
Copy link

codecov-commenter commented Nov 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8de354f) 66.34% compared to head (5e67c09) 66.39%.
Report is 5 commits behind head on develop.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #5573      +/-   ##
=============================================
+ Coverage      66.34%   66.39%   +0.05%     
- Complexity     10203    10213      +10     
=============================================
  Files            894      894              
  Lines          53841    53841              
  Branches        5931     5931              
=============================================
+ Hits           35719    35748      +29     
+ Misses         15330    15306      -24     
+ Partials        2792     2787       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -157,6 +157,15 @@ test {
forkEvery = 100
jvmArgs "-XX:MetaspaceSize=128m","-XX:MaxMetaspaceSize=256m", "-XX:+UseG1GC"
}
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not use all the availableProcessors?

@lxcmyf
Copy link
Contributor Author

lxcmyf commented Nov 20, 2023

https://buildkite.com/tronprotocol/build-on-ubuntu-18-dot-04-dot-2/builds/5358#018ba8dd-9592-40d7-bd20-02250520d8ce

image

@halibobo1205
Those that fail will try again, and in the end, they pass successfully.
image

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.

4 participants