-
Notifications
You must be signed in to change notification settings - Fork 277
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
Test tasks sometimes miss the build cache due to overlapping outputs #1103
Comments
what if you change non-code test-data? we can't guess where that possibly comes from |
Do you mean you think it's not possible to make it work with the build cache due to outside
? I could not get the test case to produce the
but I doubt the specific file matters. I did run this patch:
And it works locally with the above steps against our private plugin. The change is the system dir won't be stored in the build cache anymore. I can't see a use case for consuming them in a downstream task, only issue that may arise (which could be a problem in and of itself) is that the It does bother me that I can't seem to reproduce it as an integration test 😞 |
Describe the bug
The Test tasks have their build cache disabled when ran:
To Reproduce
org.gradle.caching=true
)rm -r build/test-results
I am trying to build a test case but I can't get it to reproduce right now...
master...abrooksv:gradle-intellij-plugin:testBuildCache
Expected behavior
Test results should be pulled from build cache
Side note
Should the system dir not be an output, but a
localState
property?Environment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: