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:
parent
149f3d1b3a
commit
93004153da
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue