towerops/test/towerops_web/plugs
Graham McIntire 83d47d1502
perf(tests): remove/reduce Process.sleep calls for faster tests
- Remove all 25ms and 50ms sleeps from agent_channel_test
- Add poll_until helper for async DB operations (early exit on success)
- Reduce timeout test sleeps from 100ms to 60ms
- Reduce polling delays from 10ms to 5ms in multiple tests
- Remove unnecessary timestamp and background task sleeps
- Reduce circuit breaker recovery sleep from 150ms to 110ms

Performance: 30.3s → 28.3s (6.6% faster)
Total improvement from baseline: 52s → 28.3s (45.6% faster)
2026-03-06 07:57:30 -06:00
..
api_auth_test.exs Add comprehensive tests for API authentication and authorization 2026-02-05 16:39:01 -06:00
brute_force_protection_test.exs fix: update tests for alert_type string migration and LiveView changes 2026-03-05 09:48:07 -06:00
capture_timezone_test.exs Remove misleading duplicate header test from CaptureTimezone 2026-02-01 11:08:12 -06:00
check_policy_consent_test.exs fix user session controller test 2026-02-03 13:42:24 -06:00
detect_eu_user_test.exs snmp v3 support 2026-02-04 12:02:38 -06:00
mobile_auth_test.exs Fix tests, credo issues, and Gaiia sync bugs 2026-02-15 11:55:49 -06:00
rate_limit_test.exs feat: add rate limiting to admin endpoints (100 req/min) 2026-03-05 14:11:19 -06:00
remote_ip_logger_test.exs more tests 2026-02-03 13:20:33 -06:00
security_headers_test.exs Security hardening: remaining audit fixes 2026-02-15 12:54:38 -06:00
update_session_activity_test.exs perf(tests): remove/reduce Process.sleep calls for faster tests 2026-03-06 07:57:30 -06:00
update_session_activity_test.exs.bak perf(tests): remove/reduce Process.sleep calls for faster tests 2026-03-06 07:57:30 -06:00
webhook_auth_test.exs Add CI-triggered mass agent update webhook 2026-02-10 13:40:32 -06:00