From e1675f6910156ae6d28c92e24ce9f672212ece25 Mon Sep 17 00:00:00 2001 From: evgeny Date: Sat, 24 Oct 2026 16:56:52 +0200 Subject: [PATCH] Preserve chat stress failure logs and group admission diagnostics --- tests/test_chat_sync_stress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_chat_sync_stress.c b/tests/test_chat_sync_stress.c index 08e355cd..26756ca0 100644 --- a/tests/test_chat_sync_stress.c +++ b/tests/test_chat_sync_stress.c @@ -149,6 +149,7 @@ int main(void) { debug_set_category_level(DEBUG_CATEGORY_DEBUG, DEBUG_LEVEL_TRACE); debug_set_category_level(DEBUG_CATEGORY_CHAT_SYNC, DEBUG_LEVEL_TRACE); debug_set_category_level(DEBUG_CATEGORY_ETCP, DEBUG_LEVEL_TRACE); + debug_set_category_level(DEBUG_CATEGORY_BGP, DEBUG_LEVEL_DEBUG); if (create_temp_configs() != 0) { fprintf(stderr, "FAIL: config creation\n"); return 1; } debug_enable_file_output(log_path, 1); @@ -259,6 +260,6 @@ cleanup: int result = (test_phase == 0) ? 0 : 1; fprintf(stderr, "=== %s seed=%u (log: %s) ===\n", result ? "FAIL" : "PASS", g_seed, log_path); - cleanup_temp_configs(); + if (!result) cleanup_temp_configs(); return result; }