Open jmspereira opened 3 months ago
is running in dind a sufficient condition to cause this error or does it go away when you stop running in parallel and run single threaded?
If I run all the tests sequentially, the problem does not exist. But again, I do not have this problem when running the tests with parallel in a local environment (without dind) :/
Describe the bug
Hey everyone,
I have a monorepo with dozens of small projects, and I am running tests that use a Redis Container in each project. To reduce the time to run the tests (since each project tests are somewhat CPU-light), I am using gnu parallel to run the tests of all projects in parallel, this causes situations where several containers are appearing/terminating simultaneously. I do not have any problems running this setup locally.
However, in my CI pipeline, each is built on top of a k8s cluster that uses dind to run the containers inside the container of the CI runner, the tests are incredibly flaky, even with multiple retries. The error is always something like this:
I am not sure if this is an issue with testcontainers, but I already spent several hours trying to find the problem. Do you guys know what might be the source of this issue?