Skip to main content

run_until_stalled_test

Function run_until_stalled_test 

Source
pub fn run_until_stalled_test<F, Fut, R>(
    fake_time: bool,
    test: F,
    options: TestOptions,
) -> R
where F: 'static + Sync + Fn(usize) -> Fut, Fut: 'static + Future<Output = R>, R: TestResult,
Expand description

Runs a test in an executor until it’s stalled.