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);