Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix(test): disable email in TestSendResolvedAlert to avoid retry delays

rcourtman7ce1355bba50
diff --git a/internal/notifications/notifications_test.go b/internal/notifications/notifications_test.go
index f564850239..d3c5c45611 100644
--- a/internal/notifications/notifications_test.go
+++ b/internal/notifications/notifications_test.go
@@ -3122,10 +3122,9 @@ func TestSendResolvedAlert(t *testing.T) {
nm := NewNotificationManager("https://pulse.local")
defer nm.Stop()
- // Configure email
+ // Disable email to avoid retry delays blocking webhook processing
nm.SetEmailConfig(EmailConfig{
- Enabled: true,
- To: []string{"[email protected]"},
+ Enabled: false,
})
// Use a mock captured channel for webhooks