Function try_wait_for_nodes_to_connect

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

Tries to run 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.