Pulse/internal/alerts
rcourtman 74fe6b9223 test: Add tests for checkPMGNodeQueues
- 12 test cases covering per-node queue monitoring
- Tests total/deferred/hold queue thresholds at warning/critical levels
- Tests oldest message age per node
- Tests outlier detection, threshold clearing, existing alert updates
- Tests empty nodes and nil QueueStatus handling

Coverage: checkPMGNodeQueues 0%→85.1%
Package coverage: 70.3%→72.3%
2025-12-01 17:16:32 +00:00
..
alerts.go refactor: Extract filter evaluation functions to separate file 2025-12-01 11:28:43 +00:00
alerts_test.go test: Add tests for checkPMGNodeQueues 2025-12-01 17:16:32 +00:00
clone_test.go Add unit tests for Alert clone and metadata utility functions (alerts) 2025-11-30 05:19:38 +00:00
concurrency_test.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
filter_evaluation.go refactor: Extract filter evaluation functions to separate file 2025-12-01 11:28:43 +00:00
filter_evaluation_test.go test: Add unit tests for filter_evaluation.go functions 2025-12-01 13:34:23 +00:00
history.go Fix critical alert system concurrency and memory leak issues 2025-11-07 09:12:28 +00:00
history_concurrency_test.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
offline_toggle_test.go feat: finalize swarm service monitoring (#598) 2025-10-26 09:35:49 +00:00
per_metric_delay_example_test.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
quiet_hours_test.go test: Add comprehensive tests for isInQuietHours function 2025-12-01 15:14:44 +00:00
threshold_update_test.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
time_threshold_test.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
utility_test.go test: Add comprehensive tests for HandleHostRemoved, ReevaluateGuestAlert 2025-12-01 16:36:48 +00:00