Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Wait Strategies for generic containers #123

Closed
heineson opened this issue Nov 11, 2022 · 0 comments
Closed

Add support for Wait Strategies for generic containers #123

heineson opened this issue Nov 11, 2022 · 0 comments
Labels
type: improvement A minor improvement to an existing feature

Comments

@heineson
Copy link

Feature description

It would be very useful to have support for customizing the criteria for when a generic container is ready for use, like documented here: https://www.testcontainers.org/features/startup_and_waits/

An example would be something like this in application.yml

test-resources:
  containers:
    custom-container:
      image-name: my-image
      hostnames:
        - my.host
      exposed-ports:
        - my.port: 9876
      wait-strategy:
        - log-message: ".*Ready to accept connections.*\\n"
@alvarosanchez alvarosanchez added the type: improvement A minor improvement to an existing feature label Nov 14, 2022
melix added a commit that referenced this issue Nov 29, 2022
@melix melix closed this as completed in 1c60211 Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants