testcontainers-node
testcontainers-node copied to clipboard
Configurable retry options for file-lock `testcontainers-node.lock`
Our current setup in which we use testcontainers consist of jest tests that spin up a container.
This works well however, spinning up a container becomes slower depending on the amount of tests that are started in parallel.
I've tracked it down to the file-lock around testcontainers-node.lock. Tweaking the retry options for proper-lockfile can really speed-up our test suite.
I've made a PR to make the retry options configurable by the user. https://github.com/testcontainers/testcontainers-node/pull/886
Would this be something that can be considered adding to testcontainers?
Implemented by https://github.com/testcontainers/testcontainers-node/pull/890