This message was deleted.
# configuration-cache
s
This message was deleted.
m
They typically start Docker containers, and test assumptions verify the number of started containers, etc.
The easy path for me was to not enable parallel builds, but as soon as I have the configuration cache enabled, then hell freezes over, because everything gets executed in parallel.
so tests start to fail because of the configuration cache being enabled
is it expected that parallel execution is enabled despite
org.gradle.parallel
being false (also tried with
--no-parallel
)
🤔 1
c
Use a shared buildlservice to limit parallelism between them
m
I know, but that is not the question 😉
(and I'm implementing this right now, but this is not as trivial as it seems, since I need a way for each project to declare what kind of resources it uses)
m
Thanks @Adam, I think the docs could be clearer: in particular that it doesn't care about the
org.gradle.parallel
and
--no-parallel
flag, which is arguable to me (at least for
--no-parallel
).
To be clear, I think it's arguable because once CC is enabled by default (if), then the behavior of builds would change.
in case one is interested with the solution I have put in place: https://github.com/micronaut-projects/micronaut-test-resources/pull/182
😍 1