/// Waits for the migration associated with provides request will result
/// in a timeout. Panics otherwise.
Waits for the migration associated with provides request will result
in a timeout. Panics otherwise.
Waits for the migration associated with provides request will result in a timeout . Panics otherwise .
fn wait_for_migration_timeout(
    testkit: &mut TestKit,
    deadline_height: Height,
    request: MigrationRequest,
) {
    let state = wait_while_pending(testkit, deadline_height, request);
    if let AsyncEventState::Timeout = state.inner {
        // That's expected
    } else {
        panic!("Migration not failed failed due to timeout: {:?}", state);
    }
}
fn wait_for_migration_timeout ( testkit : & mut TestKit , deadline_height : Height , request : MigrationRequest , ) { let state = wait_while_pending ( testkit , deadline_height , request ) ; if let AsyncEventState :: Timeout = state . inner { // That's expected } else { panic ! ( " " state ) ; } }
Waits for the migration associated with provides request will result
in a timeout.
Waits for the migration associated with provides request will result in a timeout .
testkit
&mut TestKit
deadline_height
Height
request
MigrationRequest