towerops/test/towerops_web/controllers
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 perf(tests): remove/reduce Process.sleep calls for faster tests 2026-03-06 07:57:30 -06:00
admin_controller_test.exs fix(tests): enable TOTP in final AdminControllerTest 2026-03-06 07:45:28 -06:00
api_docs_controller_test.exs feat: add Force10 FTOS and optical transceiver monitoring (ProCurve, Comware) 2026-02-12 08:19:12 -06:00
debug_controller_test.exs feat: add critical network switch sensor support (HP Comware, Dell PowerConnect, Dell SONiC) 2026-02-11 17:36:45 -06:00
error_html_test.exs Fix tests, credo issues, and Gaiia sync bugs 2026-02-15 11:55:49 -06:00
error_json_test.exs security: implement comprehensive security audit fixes 2026-03-05 13:08:10 -06:00
health_controller_test.exs security: implement comprehensive security audit fixes 2026-03-05 13:08:10 -06:00
page_controller_test.exs Fix mobile Gaiia entity mapping + redirect / to /dashboard 2026-02-15 15:05:20 -06:00
page_html_test.exs fix: resolve compilation errors, test failures, and credo issues 2026-02-14 12:23:10 -06:00
user_reset_password_controller_test.exs test: expand coverage for devices, workers, and LiveView modules 2026-02-12 09:06:41 -06:00
user_session_controller_test.exs fix user session controller test 2026-02-03 13:42:24 -06:00
user_session_html_test.exs purge more passkey and gettext updates 2026-02-02 10:20:59 -06:00
user_settings_controller_test.exs Convert User Settings from controller to LiveView 2026-01-15 16:29:50 -06:00
user_settings_html_test.exs remove passkeys for now 2026-01-31 09:50:35 -06:00
user_sudo_controller_test.exs fix: address UserSudoController critical issues 2026-02-01 14:45:05 -06:00