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

tests: enable parallel testing to speed up database-backed tests #3203

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Kehrlann
Copy link
Contributor

@Kehrlann Kehrlann commented Dec 18, 2024

Context

Now that we have re-enabled DB testing with gh-3186, Postgres and MySQL tests are slower, and it is useful to enable some level of parallelism.

Please pay attention to docs/testing.md, to ensure the explanations are clear.

Results

On my mac M1, this speeds up the tests, from around 13 minutes to under 5 minutes for MySQL.

HSQL-based unit tests are only marginally faster.

Blockers

Blocked by gh-3202 ; as some LDAP tests fail when running in parallel.

@Kehrlann Kehrlann force-pushed the dgarnier/parallel-tests branch from 85bb5c8 to c3c2487 Compare December 18, 2024 16:25
- Now that we have re-enabled DB testing with cloudfoundrygh-3186, Postgres and MySQL
  tests are slower, and it is useful to enable some level of parallelism.
@Kehrlann Kehrlann force-pushed the dgarnier/parallel-tests branch from c3c2487 to e5c8a79 Compare December 18, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant