Gradle problem with the parallel execution of the tests #86
-
|
Hello, I would like to report a strange behavior that I am facing for running my tests. The problem only occurs while executing
with the following error log:
By adding the I tried this with the Ecplise, and surprisingly the error vanished.
Currently, the only workaround was to suppress the parallelization for this test P.S: IntelliJ runs the test with gradle, but Ecplise has the option to run them as JUnit test without having gradle to interfere and that's the reason why it works. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
@victorgveloso, Could you please share your insights? |
Beta Was this translation helpful? Give feedback.


It looks like Gradle runs out of memory when running tasks that produce a lot of log output (gradle/gradle#23965). Could you try to suppress logging for debugging.
Also Related to this issue: https://stackoverflow.com/questions/68885627/gradle-outofmemoryerror-when-running-tests-despite-a-ton-of-memory Apparently, maven should not throw the same exception.