From 93004153dae25265b7b4f18475481265c9270d06 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Thu, 5 Mar 2026 18:48:18 -0600 Subject: [PATCH] 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. --- test/towerops_web/channels/agent_channel_test.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/towerops_web/channels/agent_channel_test.exs b/test/towerops_web/channels/agent_channel_test.exs index 6defc763..7823be69 100644 --- a/test/towerops_web/channels/agent_channel_test.exs +++ b/test/towerops_web/channels/agent_channel_test.exs @@ -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