Wait for the actual DOWN timer in the owner-release test

This commit is contained in:
evgeny committed 2026-10-12 20:46:43 +02:00
1 parent c7be1ebbbe
commit a32eef9ed1
1 file changed
+1 -1
+1 -1
View File
@@ -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);