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

Parallelise test by timing data on circle ci #125

Open
slonka opened this issue May 27, 2020 · 2 comments
Open

Parallelise test by timing data on circle ci #125

slonka opened this issue May 27, 2020 · 2 comments
Labels

Comments

@slonka
Copy link
Contributor

slonka commented May 27, 2020

https://circleci.com/gh/allegro/envoy-control/tree/run-tests-in-parallel

https://circleci.com/blog/how-to-boost-build-time-with-test-parallelism/ (gradle setup)

@slonka slonka added the good first issue Good for newcomers label May 28, 2020
@slonka
Copy link
Contributor Author

slonka commented Oct 15, 2020

Some initial work has been done here: https://github.com/allegro/envoy-control/compare/run-tests-in-parallel-3?expand=1

The main problem seems to be that CircleCI expects a list of test classes to assign each worker a set of them, but I did not find any way to list all test classes in gradle. The workaround I applied was to compile the project and then list all files that match a pattern ./**/*Test.class (remember that in Kotlin there can be more than one class in a .kt file).

When this issue is implemented this problem will be solved: gradle/gradle#2129

@slonka
Copy link
Contributor Author

slonka commented Oct 15, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants