Skip to content

Parallelize upload_mock integration tests #2444

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

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Nov 29, 2023

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

Parallelize upload_mock integration test.
Since the upload_mock tests are the longest, this change should reduce the overall execution time, I didn't check accurately, but I'm pretty sure we are gaining at least a couple of minutes over the full CI process.

What is the current behavior?

test-integration (windows-latest, upload_modk) completes in roughly ~12 minutes.

What is the new behavior?

test-integration (windows-latest, upload_modk) completes in roughly ~8 minutes.

Does this PR introduce a breaking change, and is titled accordingly?

Other information

@cmaglie cmaglie self-assigned this Nov 29, 2023
@cmaglie cmaglie added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Nov 29, 2023
Copy link

codecov bot commented Nov 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ab03161) 67.38% compared to head (a41a88a) 67.32%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2444      +/-   ##
==========================================
- Coverage   67.38%   67.32%   -0.07%     
==========================================
  Files         210      210              
  Lines       20591    20591              
==========================================
- Hits        13876    13862      -14     
- Misses       5578     5588      +10     
- Partials     1137     1141       +4     
Flag Coverage Δ
unit 67.32% <ø> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@cmaglie cmaglie marked this pull request as ready for review November 29, 2023 13:50
@cmaglie cmaglie merged commit ecc1ece into arduino:master Nov 29, 2023
@cmaglie cmaglie deleted the parallelize_test branch November 29, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants