Gradle / subprojects / base-services / src / test / groovy / org / gradle / internal / work
DefaultWorkerLeaseServiceWorkerLeaseTest.groovy
![]() |
![]() |
299583cShare outer builds worker lease with included build for parallel execution (#2464)
* Use same parent lease for all included builds when executing tasks * Notify state changes when we clear a shared lease * Add documentation and refactor a bit * Rename some methods and make Javadoc sensible * Add test coverage for withSharedLease() * Assert that we see the expected amount of task concurrency * Add another test for composite build execution with max-workers=1 * Fix Codenarc violations * Move concurrency assertion into build operations fixture |
![]() |
Got a suggestion or an issue?
Discuss it on the Atlassian Community or
visit Atlassian Support for other options.