testcontainers / testcontainers-rs

A library for integration-testing against docker containers from within Rust.
https://rust.testcontainers.org
Apache License 2.0
697 stars 133 forks source link

feat(wait)!: enhance `LogWaitStrategy` to wait for message appearance multiple times #683

Closed DDtKey closed 2 months ago

DDtKey commented 2 months ago

The interface has been changed a bit to support advanced configuration of the strategy. For example, to wait for a message to appear twice in stdout:

WaitFor::log(
    LogWaitStrategy::stdout("server is ready").with_times(2),
)

Closes #675

netlify[bot] commented 2 months ago

Deploy Preview for testcontainers-rust ready!

Name Link
Latest commit 9fc29fd2375887129ee8a59076db869e72c55eb9
Latest deploy log https://app.netlify.com/sites/testcontainers-rust/deploys/6689da962311680008e784d3
Deploy Preview https://deploy-preview-683--testcontainers-rust.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.