fix: increase walker concurrent test timeout, prefix unused vars, add heex to dialyzer ignore

This commit is contained in:
Graham McIntire 2026-02-14 13:06:46 -06:00
parent cb0c6e79fb
commit 3284f0bce6
3 changed files with 4 additions and 3 deletions

View file

@ -44,5 +44,6 @@
# Ignore unknown_function and unknown_type warnings from Ecto/Plug/Phoenix
# These are false positives - the functions exist but aren't in the PLT
~r/lib\/towerops.*\.ex/,
~r/lib\/towerops.*\.heex/,
~r/lib\/mix\/tasks.*\.ex/
]

View file

@ -240,7 +240,7 @@ defmodule SnmpKit.SnmpLib.WalkerTest do
end)
end)
results = Task.await_many(tasks, 1000)
results = Task.await_many(tasks, 10_000)
# All should complete (with errors due to invalid host)
assert length(results) == 3

View file

@ -5,14 +5,14 @@ defmodule Towerops.PagerDuty.ClientTest do
describe "trigger/5" do
test "builds correct event body" do
alert = %{
_alert = %{
id: "abc-123",
alert_type: :device_down,
triggered_at: ~U[2024-01-15 10:30:00Z],
message: "Device is not responding to ping"
}
device = %{
_device = %{
id: "dev-456",
hostname: "router-01",
ip_address: "10.0.0.1",