Skip to content

TestFailuresPlugin makes our build incompatible with Gradle's configuration cache #25405

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

Closed
wilkinsona opened this issue Feb 24, 2021 · 0 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@wilkinsona
Copy link
Member

It uses a build listener to report a summary of all the test failures at the end of the build. The configuration cache does not support build listeners and we need to use a BuildService instead. We can implement AutoCloseable to be called back when the service is no longer needed and implement OperationCompletionListener to ensure that this doesn't happen until the build has completed and all the test tasks have run.

@wilkinsona wilkinsona added the type: task A general task label Feb 24, 2021
@wilkinsona wilkinsona added this to the 2.3.x milestone Feb 24, 2021
@wilkinsona wilkinsona self-assigned this Feb 24, 2021
@wilkinsona wilkinsona modified the milestones: 2.3.x, 2.3.10 Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant