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

Test that all of the expected message arrive over proxy after requesting a log dump, with no unexpected records appearing. Returns once all expected messages have been observed.

§Panics

Panics when validation fails due to an unexpected message, missing messages when the sink says it is done dumping, or due to connection failures.