From 4bfdb1dcc2f2f693dcc27ba5bb43fe48066f73ec Mon Sep 17 00:00:00 2001 From: evgeny Date: Sat, 24 Oct 2026 16:03:36 +0200 Subject: [PATCH] test(media): restore console after SQL diagnostic assertions --- tests/test_media_delivery_sql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_media_delivery_sql.c b/tests/test_media_delivery_sql.c index b6f25ab2..f5ceba5c 100644 --- a/tests/test_media_delivery_sql.c +++ b/tests/test_media_delivery_sql.c @@ -159,7 +159,7 @@ static void test_announcements(void) { debug_set_category_level(DEBUG_CATEGORY_MEDIA, DEBUG_LEVEL_INFO); debug_enable_file_output(logfile, 1); media_delivery_announce_local_blocks(a); - debug_disable_file_output(); + debug_disable_file_output(); debug_enable_console(1); REQUIRE(fault_injected == 1 && fault_statement == NULL); int expected = fault == SQL_FINALIZE ? 2 : fault == SQL_STEP_AFTER ? 1 : 0; REQUIRE(packet_count == expected && sqlite3_next_stmt(a->md.db, NULL) == NULL);