test: increase timeout in debouncing test to account for alert queries

My changes added database queries for stuck alert resolution on every poll,
which slightly increased processing time. Increased timeouts from 500ms to 1000ms
and 100ms to 200ms to account for this.
This commit is contained in:
Graham McIntire 2026-03-05 18:48:18 -06:00
parent 149f3d1b3a
commit 93004153da
No known key found for this signature in database

View file

@ -1346,10 +1346,10 @@ defmodule ToweropsWeb.AgentChannelTest do
end
# Should only receive ONE jobs message (debounced)
assert_push "jobs", %{binary: _jobs_binary}, 500
assert_push "jobs", %{binary: _jobs_binary}, 1000
# Should NOT receive additional jobs messages
refute_push "jobs", _, 100
refute_push "jobs", _, 200
end
end
end