Skip to content

Configurable retry options for file-lock testcontainers-node.lock #887

@GiDW

Description

@GiDW

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. #886

Would this be something that can be considered adding to testcontainers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions