I have multi-project build and test module that has multiple projects that are doing integration testing (Starting spring context with h2 database etc)
I played around with --parallel with Gradle 3.5 a bit and cannot see an issue. The issue might be related to the fact how you model task or project dependencies. Could you please put together a sample project that reproduces the issue?
I hope you find it nice that this problem is now much more obvious with Gradle 3.5. A couple notes:
The console does not reflect the status of test workers, which there can be many (maxParallelForks). This is a gap we hope to fill very soon.
You can get really great visualization of this looking at a build scan timeline view like this one (though the feature is hardly done justice with just this scan). This may include additional information that would help you identify the problem.
As Ben said, a complete example would be really helpful to determine the exact cause.
Looks like you are making all tests write their coverage into the same coverage file. So they can’t run in parallel. Consider letting them have their own file and merging those after.