Function wait_for_nodes_to_connect

Source
pub async fn wait_for_nodes_to_connect<I>(
    cluster: &mut Cluster,
    nodes_peers: I,
    time: Duration,
) -> bool
where I: IntoIterator<Item = (RustNodeId, PeerId)>,
Expand description

Runs the cluster for specified period of time, returning true early if for each specified pair of Rust node id and peer id there was a succesfull connection.