View Source Testcontainers.LogWaitStrategy (testcontainers v1.11.6)

Considers the container as ready as soon as a specific log message is detected in the container's log stream.

Summary

Functions

Creates a new LogWaitStrategy. This strategy waits until a specific log message, matching the provided regex, appears in the container's log.

Functions

Link to this function

new(log_regex, timeout \\ 5000, retry_delay \\ 500)

View Source

Creates a new LogWaitStrategy. This strategy waits until a specific log message, matching the provided regex, appears in the container's log.