aprs.me/test/aprsme_web/live/map_live
Graham McIntire 4e00c3cf5d
test: Make tests time-independent and increase timeouts for reliability
- Fix time-dependent tests to use relative dates instead of hardcoded values
- Increase timeout values to prevent flaky failures on slower systems/CI
- Use flexible string matching for time-related assertions
- Update Process.sleep and assert_receive timeouts for better reliability

Specific changes:
- TimeHelpers: Use pattern matching for variable time strings
- PacketsOldest: Replace hardcoded dates with relative calculations
- BroadcastTaskSupervisor: Increase timing assertion to 1s
- Movement tests: Increase refute_push_event timeout to 2s
- Integration tests: Increase all wait times by 50%
- StreamingPacketsPubSub: Increase receive timeouts

These changes ensure tests pass regardless of when they're executed
and are more resilient to performance variations in CI environments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-02 10:07:47 -05:00
..
callsign_view_test.exs fix: Update tests and normalize callsigns for new URL structure 2025-07-30 13:09:24 -05:00
historical_loading_test.exs test: Add comprehensive tests for historical packet loading on initial page load 2025-08-02 09:46:37 -05:00
index_test.exs historical packets working again 2025-06-28 11:34:15 -05:00
map_helpers_test.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
movement_test.exs test: Make tests time-independent and increase timeouts for reliability 2025-08-02 10:07:47 -05:00
overlay_rendering_test.exs fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
packet_utils_test.exs fix: Resolve majority of dialyzer type errors 2025-07-30 13:30:21 -05:00
performance_test.exs refactor and performance improvements 2025-07-10 10:53:34 -05:00
rf_path_test.exs fix stations that heard call 2025-07-13 18:55:51 -05:00
tracked_callsign_old_packet_test.exs fix: Fix failing tests and improve test reliability 2025-07-30 14:24:21 -05:00