From a32eef9ed1adbdbd3f79ca24e138acd2894a680d Mon Sep 17 00:00:00 2001 From: evgeny Date: Mon, 12 Oct 2026 20:46:43 +0200 Subject: [PATCH] Wait for the actual DOWN timer in the owner-release test --- tests/test_etcp_server_lifecycle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_etcp_server_lifecycle.c b/tests/test_etcp_server_lifecycle.c index 7942404a..e34524de 100644 --- a/tests/test_etcp_server_lifecycle.c +++ b/tests/test_etcp_server_lifecycle.c @@ -130,7 +130,7 @@ static void check_owner(int release) { CHECK(node_conn_direct_open(&inst, 42, owner_cb, NULL, &second, NULL) == NCD_REUSED); CHECK(node_conn_direct_handle_count(conn) == 2); node_conn_direct_close(handle); CHECK(node_conn_direct_handle_count(conn) == 1 && !conn->close_requested); - node_conn_direct_close(second); test_clock_run_for(inst.ua, 10); + node_conn_direct_close(second); test_clock_next_timer(inst.ua); } CHECK(deleted == 1 && !closed && !inst.connections->count); teardown(); DEBUG_INFO(DEBUG_CATEGORY_DEBUG, "PASS DOWN timeout with local owner release_on_down=%d", release);