Preserve chat stress failure logs and group admission diagnostics
This commit is contained in:
1 parent
bb13824ad8
commit
e1675f6910
1 file changed
+2
-1
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user