test: fix merged parity branches (4-section manifest fixtures, timeout-teardown)

This commit is contained in:
2026-09-15 23:38:15 +02:00
parent 7dbca70a4b
commit 1b2632f968
3 changed files with 8 additions and 1 deletions
+3
View File
@@ -156,6 +156,9 @@ static void test_tcp_set_timeouts() {
tcp_set_timeouts(-1, -1);
EXPECT_EQ_INT(tcp_get_timeout_sec(), 0);
EXPECT_EQ_INT(tcp_get_contimeout_sec(), 0);
/* Restore finite defaults so later tests that rely on a bounded connect/IO
* timeout (e.g. connecting to a non-routable address) cannot block forever. */
tcp_set_timeouts(30, 10);
}
/* Test client_connect with an invalid host (should fail gracefully) */