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

Merged
merged 1 commit into from
Dec 19, 2024

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 2 times, most recently from c3c2487 to e5c8a79 Compare December 18, 2024 16:26
@Kehrlann Kehrlann force-pushed the dgarnier/parallel-tests branch from e5c8a79 to afa6a9f Compare December 19, 2024 09:27
- 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 afa6a9f to 666b1d0 Compare December 19, 2024 09:27
@Kehrlann Kehrlann marked this pull request as ready for review December 19, 2024 09:27
Copy link
Member

@duanemay duanemay left a comment

Choose a reason for hiding this comment

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

👍

@strehle strehle merged commit 8b572fe into cloudfoundry:develop Dec 19, 2024
22 checks passed
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.

4 participants