Replies: 1 comment 1 reply
-
No, we do not have a wait strategy that depends on the host's availability. However, that sounds like a good enhancement 👍.
Are you experiencing this issue with Docker Desktop? Typically, it's better not to rely on port availability, as a listening port doesn't always guarantee that the service is fully operational. I just want to make sure that you're not encountering an issue where the port binding has not happened yet. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I couldn't find a mention if testcontainers-dotnet waits until exposed hosts are available from hosts. testcontainers-java seems to do it.
Has testcontainers-dotnet a wait strategy to wait for a (tcp) port to be available from the host? And if it does is it used to wait for ports on default?
If it is not, would that be a good addition? Than I would be happy to do that :).
Background is that we are facing intermediate errors sometimes, as ports are not available fast enough (usually on macs as in #1148) and have implemented a WaitStrategy for that, that seems to work good enough.
Beta Was this translation helpful? Give feedback.
All reactions