You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In fact, the case where this happens was eliminated as we needed to progress.
However, I can describe how I did eliminate it.
In fact, splitting the test to multiple classes made it even worse - do not ask me why, but the test was slow and got stuck even local.
The only resolution for me was to disable the @SpringZeebeTest and use @ZeebeProcessTest instead. This made the workers not poll the engine and I had to create the beans by hand.
The clue that led me to this solution was that the printed event stream on a failed/timed out test did show like 80% activateJob commands which (possibly?) pollutes the event stream and puts load on the engine without having anything happen.
Maybe this could be a starting point to improve reliability of the testcontainer.
PS: I also thought about moving the embedded test setup, however our project needs to rely on Java 1.8 as there are artifacts produced that should be included as dependency to other project. Our experience shows that LTS is taken VERY serious by the Java community.
Heads up! We are building a new Java testing library for Camunda 8.6. The new library will replace Zeebe Process Test.
Read more about upcoming changes here and stay tuned for updates. 🚀
Description
When running unit tests, the testcontainer extension runs out of memory from time to time when being executed inside a github action.
Here is an example on a failed run: https://github.com/camunda-community-hub/camunda-7-to-8-migration/actions/runs/4252564209/jobs/7396314679
Under
Check Test Fails
, you can find the logs of the tests.Is there an option to increase the memory allocated to the container to prevent this?
Alternative: We split up the test in multiple classes, however this is a dynamic test which is generated from a java object.
The text was updated successfully, but these errors were encountered: