diff --git a/tests/test_call.c b/tests/test_call.c index d286ce75..1f362258 100644 --- a/tests/test_call.c +++ b/tests/test_call.c @@ -56,7 +56,7 @@ #define IDX_B 1 #define TICK_TB 100 /* 10 ms на такт */ -#define MAX_TICKS 3000 /* глобальный таймаут ≈ 30 c */ +#define MAX_TICKS 6000 /* включает ограниченное удержание tombstone и серию политик входящего вызова */ enum call_phase { P_WAIT_CONN, @@ -871,6 +871,7 @@ static void call_tick(void* arg) { t->phase = P_POLICY_START; break; case P_POLICY_START: { + DEBUG_INFO(DEBUG_CATEGORY_CALL, "phone policy starting scenario=%d", t->policy_index); static const struct { int state; unsigned policy; } policies[] = { {0, CALL_POLICY_WARN_PHONE}, {2, CALL_POLICY_PUBLISH_PHONE}, {2, CALL_POLICY_WARN_PHONE}, {2, CALL_POLICY_WARN_PHONE}, {2, CALL_POLICY_WARN_PHONE | CALL_POLICY_REJECT_PHONE}, diff --git a/tests/test_radio.c b/tests/test_radio.c index 6914b464..f7d203f5 100644 --- a/tests/test_radio.c +++ b/tests/test_radio.c @@ -664,7 +664,8 @@ static void rad_tick(void* arg) { DEBUG_INFO(DEBUG_CATEGORY_RADIO, "phone policy passed: hidden/published BGP, warn, override with loss, reject, independent blocks, 60s choice"); t->phase = P_RADIO_ON; break; phone_failed: - DEBUG_ERROR(DEBUG_CATEGORY_RADIO, "phone policy failed step=%d", t->call_step); + DEBUG_ERROR(DEBUG_CATEGORY_RADIO, "phone policy failed step=%d force_drops_left=%d incoming108=%d state108=%d reason108=%d", + t->call_step, g_drop_force, g_calls[8][IDX_C].incoming, g_calls[8][IDX_A].state, g_calls[8][IDX_A].reason); t->result = 2; uasync_stop(t->ua); return; } break;