Parallel build unit test failing affected to other projects?


(Gayan Wijenayaka) #1

We have multiple projects and we are building projects using Gradle. We have used parallel task to execute the Junit test. If one test case failed in one project gradle shows the actual error method and without any reason it is showing another project test is failed. This behavior is changing time to time.

Ex: let say we have three projects A, B and C. Science some environment issue project A one of unit test is failing. But in Gradle console showing actual error and :b:test FAILED or :C:test FAILED.

But if we build the projects without parallel task it is working fine.