Skip to content

[hotfix][python][ci] Parallelise Flink Python test execution #26551

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

autophagy
Copy link
Contributor

What is the purpose of the change

Currently, the PyFlink pytests are run sequentially on a single CPU core. This PR adds the pytest-xdist plugin that creates workers for each CPU core available and distributes the tests across them. On the Github runners this leads to shaving off 4-5 mins per tox test run, and scales with the number of cores available.

Brief change log

  • Added pytest-xdist plugin for parallelising Flink Python pytest runs in CI

@flinkbot
Copy link
Collaborator

flinkbot commented May 13, 2025

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@autophagy
Copy link
Contributor Author

@flinkbot run azure

@autophagy autophagy marked this pull request as draft May 22, 2025 12:18
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.

2 participants