validating_log_listener

Function validate_log_stream

Source
pub async fn validate_log_stream(
    expected: impl IntoIterator<Item = LogMessage>,
    proxy: LogProxy,
    filter_options: Option<LogFilterOptions>,
)
Expand description

Test that all of the expected message arrive over proxy, with no unexpected ones appearing. Returns once all expected messages have been observed.

ยงPanics

Panics when validation fails due to an unexpected message or due to connection failures.