fix tests (#588)

fix proxy_three_node_disconnect_test and hole_punching_symmetric_only_random
This commit is contained in:
Sijie.Sun
2025-01-27 15:17:47 +08:00
committed by GitHub
parent d0f26d9303
commit 08546925cc
6 changed files with 110 additions and 66 deletions
+2 -1
View File
@@ -167,7 +167,7 @@ async fn wait_proxy_route_appear(
}
fn set_link_status(net_ns: &str, up: bool) {
let _ = std::process::Command::new("ip")
let ret = std::process::Command::new("ip")
.args([
"netns",
"exec",
@@ -180,4 +180,5 @@ fn set_link_status(net_ns: &str, up: bool) {
])
.output()
.unwrap();
tracing::info!("set link status: {:?}, net_ns: {}, up: {}", ret, net_ns, up);
}