View Source Testcontainers.LogWaitStrategy (testcontainers v1.11.7)

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

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

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