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

Optimize test execution time after refactors #44089

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Nov 16, 2024

After refactor of running providers tests and after some recent changes we need to re-sort the order of test type execution and separate out standards provider.

Ths "standard" provider has slow Venv tests and it is now the slowest provider when it comes to test suite. Similarly API test type has many more tests now and it is pretty slow. Both should be started earlier in order to make use of the parallelism we have (long running tests should go first to avoid them to stay as last ones and utilise only one processor while doing so.

This PR separates standard provider and moves both standard provider and API to the top of the list used for sorting, similarly google and amazon are put higher on the list


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

After refactor of running providers tests and after some recent
changes we need to re-sort the order of test type execution and
separate out standards provider.

Ths "standard" provider has slow Venv tests and it is now the
slowest provider when it comes to test suite. Similarly API
test type has many more tests now and it is pretty slow. Both
should be started earlier in order to make use of the parallelism
we have (long running tests should go first to avoid them to
stay as last ones and utilise only one processor while doing so.

This PR separates standard provider and moves both standard
provider and API to the top of the list used for sorting, similarly
google and amazon are put higher on the list

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no suggestions.

@potiuk potiuk merged commit d8ebda4 into apache:main Nov 16, 2024
91 checks passed
@potiuk potiuk deleted the optimize-test-execution-time branch November 16, 2024 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants