View Source Testcontainers.PortWaitStrategy (testcontainers v1.11.7)

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

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

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