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
How much data are you creating? It takes quite a few before the limits gets reached. You can see the number of 64000 recommended in the official documentation.
Module
MongoDB
Testcontainers version
1.19.8
Using the latest Testcontainers version?
Yes
Host OS
Linux
Host Arch
x86
Docker version
What happened?
MongoDB crashes while the tests are running.
Relevant log output
Additional Information
MongoDB recommends setting
ulimit -n 64000
, which is much more than Docker's default of1024
.In a docker-compose file, I can use:
to increase the file ulimit. However, I can't find a way to do so with testcontainers-java.
The text was updated successfully, but these errors were encountered: