From ff2f101bfc1fb31b097356063c5a4a380625863e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Mon, 22 Jun 2026 10:13:20 +0200 Subject: [PATCH] test(iroh): Test holepunching with 16 interfaces (#4336) ## Description I ran tests that check for holepunching with one interface working for holepunching among 16 configured interfaces in a loop 300 times, and they didn't fail once. We should probably expect this to not regress or be flaky. Also added a version of these tests with 32 interfaces. These tests consistently fail, so they're behind an `#[ignore]` annotation for now. ## Change checklist - [x] Self-review. --------- Co-authored-by: Franz Heinzmann --- iroh/tests/patchbay.rs | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/iroh/tests/patchbay.rs b/iroh/tests/patchbay.rs index 9ec405e04e..5c96a19747 100644 --- a/iroh/tests/patchbay.rs +++ b/iroh/tests/patchbay.rs @@ -384,14 +384,26 @@ async fn holepunch_many_addrs_server_8() -> Result { #[tokio::test] #[traced_test] -#[ignore = "not yet passing"] async fn holepunch_many_addrs_client_16() -> Result { run_holepunch_many_addrs(Side::Client, 16).await } #[tokio::test] #[traced_test] -#[ignore = "not yet passing"] async fn holepunch_many_addrs_server_16() -> Result { run_holepunch_many_addrs(Side::Server, 16).await } + +#[tokio::test] +#[traced_test] +#[ignore = "not yet passing"] +async fn holepunch_many_addrs_client_32() -> Result { + run_holepunch_many_addrs(Side::Client, 32).await +} + +#[tokio::test] +#[traced_test] +#[ignore = "not yet passing"] +async fn holepunch_many_addrs_server_32() -> Result { + run_holepunch_many_addrs(Side::Server, 32).await +}