View Source Testcontainers.PortWaitStrategy (testcontainers v1.11.6)

Considers the container as ready when it successfully accepts connections on the specified port.

Summary

Functions

Creates a new PortWaitStrategy to wait until a specified port is open and accepting connections.

Functions

Link to this function

new(ip, port, timeout \\ 5000, retry_delay \\ 200)

View Source

Creates a new PortWaitStrategy to wait until a specified port is open and accepting connections.