fix: increase walker concurrent test timeout, prefix unused vars, add heex to dialyzer ignore
This commit is contained in:
parent
cb0c6e79fb
commit
3284f0bce6
3 changed files with 4 additions and 3 deletions
|
|
@ -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/
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue