Tools used:
Java 8
Gradle 4.0
Selenium
Selenium Grid
TestNG
Docker
Bitbucket
Bitbucket pipelines
When I'm executing my tests via bitbucket pipelines I've got these errors:
"Could not complete execution for Gradle Test Executor 2" error (not whole suite executed. Total tests count: 29, executed 9, failed 2. One assertion error and another one is "Could not complete execution for Gradle Test Executor 2";
If I did an execution again sometimes I have this error: "Failed Container 'docker' exceeded memory limit."
Everything works fine when I'm running the tests locally. Any ideas on how this can be fixed?