From 325957c9ca430e5977e98f546970a9b6e2d64af0 Mon Sep 17 00:00:00 2001 From: centra Date: Sat, 13 Dec 2025 06:53:51 +0900 Subject: [PATCH] fix(fiberlb): Mark TCP-dependent tests as #[ignore] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test_basic_load_balancing and test_health_check_failover tests bind real TCP ports (17080, 18001-19003) which causes them to hang indefinitely in the Nix sandbox during nixos-anywhere provisioning. Added #[ignore = "Integration test requiring real TCP server"] to these tests so they're only run when explicitly requested with --ignored flag. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- fiberlb/crates/fiberlb-server/tests/integration.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fiberlb/crates/fiberlb-server/tests/integration.rs b/fiberlb/crates/fiberlb-server/tests/integration.rs index 66c4e15..cedd4a4 100644 --- a/fiberlb/crates/fiberlb-server/tests/integration.rs +++ b/fiberlb/crates/fiberlb-server/tests/integration.rs @@ -315,6 +315,7 @@ async fn test_health_check_config() { /// Test 5.5: Basic load balancing - T051.S2 /// Tests round-robin traffic distribution across multiple backends #[tokio::test] +#[ignore = "Integration test requiring real TCP server"] async fn test_basic_load_balancing() { use std::collections::HashMap; use tokio::sync::Mutex; @@ -460,6 +461,7 @@ async fn test_basic_load_balancing() { /// Test 6: Health check failover - T051.S4 /// Tests automatic backend health check failure detection and recovery #[tokio::test] +#[ignore = "Integration test requiring real TCP server"] async fn test_health_check_failover() { // 1. Start 3 mock backend servers that accept TCP connections let backend1_port = 19001u16;