tests_fuzz::utils::migration

Function migrate_region

Source
pub async fn migrate_region(
    e: &Pool<MySql>,
    region_id: u64,
    from_peer_id: u64,
    to_peer_id: u64,
    timeout_secs: u64,
) -> String
Expand description

Migrates a region from one peer to another within a specified timeout.

Returns the procedure id.