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 waitForSqlWithHost implementation. #310

Closed

Commits on Apr 13, 2021

  1. Add waitForSqlWithHost implementation.

    This implementation mostly copies the prior waitForSql implementation,
    the difference being that the waitForSqlWithHost allows the user to
    construct a connection string using the host of the DB container. This
    is especially useful in a scenario like CI (where our tests are being
    executed in a container) or even remote Docker hosts.
    
    To preserve backwards-compatibility, and because of the way that
    `waitForSql` works, `waitForSqlWithHost` replicates the existing
    behaviour mostly. In a v1 of testcontainers-go, you would probably want
    to unify these two differing implementations.
    michielboekhoff committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    889a45b View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Configuration menu
    Copy the full SHA
    ec477cb View commit details
    Browse the repository at this point in the history