Skip to content

MsSqlContainer UntilContainerIsHealthy wait strategy is not working for me #1167

Discussion options

You must be logged in to vote

These wait strategies won't work with MSSQL. 1) The port becomes available before the actual service. 2) AFAIK the image does not provide a HEALTHCHECK. Why don't you use the MSSQL module?

MsSqlContainer _msSqlContainer = new MsSqlBuilder().Build();

Modules are preconfigured and contain proven best practices. The MSSQL module uses the following wait strategy.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cezar-pimentel
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants