Skip to content

Commit

Permalink
allow dead code for unused service functions for new multinode integr…
Browse files Browse the repository at this point in the history
…ation test of exit_location
  • Loading branch information
czarte committed Dec 19, 2024
1 parent d65a743 commit 7270bbf
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions multinode_integration_tests/src/masq_node_cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,24 @@ impl MASQNodeCluster {
}
}

#[allow(dead_code)]
fn interconnect_world_network(network_one: &str, network_two: &str) -> Result<(), String> {
let mut command = Command::new(
"docker",
Command::strings(vec!["network", "connect", network_one, network_two]),
);
match command.wait_for_exit() {
0 => Ok(()),
_ => Err(format!(
"Could not connect network {} to {}: {}",
network_one,
network_two,
command.stderr_as_string()
)),
}
}

#[allow(dead_code)]
fn create_world_network(ipv4addr: Ipv4Addr, name: &str) -> Result<(), String> {
let mut command = Command::new(
"docker",
Expand Down

0 comments on commit 7270bbf

Please sign in to comment.