towerops/test/towerops_web/channels
Graham McIntire bf2ad4031b test(agent_channel): cover stuck alert resolution, deprecated PING, MikroTik job building
Adds 8 tests targeting AgentChannel branches missed by existing tests:

- resolve_any_stuck_down_alerts: device_down and device_up stuck alerts
  resolved on next successful poll
- handle_in result with :PING job_type (deprecated SnmpResult path used
  by older agents) creates a monitoring check without crashing
- handle_live_poll_result with malformed job_id (missing reply_topic)
  hits the warning catch-all branch
- build_mikrotik_job is included in the initial dispatch when the device
  has a discovered SNMP profile whose manufacturer is MikroTik or whose
  sys_descr mentions RouterOS, and excluded when mikrotik_enabled is false
- process_additional_polling_data path with extra OIDs runs without
  crashing the channel
2026-05-09 12:25:13 -05:00
..
agent_channel_builders_test.exs test: more coverage across LiveViews (gaiia mapping, schedule, integrations) 2026-05-08 09:58:10 -05:00
agent_channel_check_proto_test.exs Rewrite protobuf encoding/decoding in pure Gleam with integrated validation (#104) 2026-03-21 16:08:40 -05:00
agent_channel_cloud_poller_test.exs test: cloud poller AgentChannel + SNMP sensor v3/no-snmp + firmware month parser 2026-05-09 09:20:27 -05:00
agent_channel_extra_coverage_test.exs test(agent_channel): cover stuck alert resolution, deprecated PING, MikroTik job building 2026-05-09 12:25:13 -05:00
agent_channel_processing_test.exs test: AgentChannel processing tests + skip flaky discovery/ping tests 2026-05-08 09:34:10 -05:00
agent_channel_test.exs test: SNMP client v3 parsing + AlertNotificationWorker incidents + AgentChannel oversized messages 2026-05-08 11:57:50 -05:00
mobile_channel_test.exs add mobile app websocket channel and improve QR linking UX 2026-03-13 17:28:36 -05:00
mobile_socket_test.exs add mobile app websocket channel and improve QR linking UX 2026-03-13 17:28:36 -05:00