aprs.me/test/aprsme_web
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
..
controllers refactor to use external parser 2025-06-24 14:22:09 -05:00
integration refactor: Remove CachedQueries and rename optimized functions 2025-07-30 13:17:56 -05:00
live test: Make tests time-independent and increase timeouts for reliability 2025-08-02 10:07:47 -05:00
plugs fix geolocation hopefully 2025-07-10 17:12:49 -05:00
aprs_symbol_test.exs format 2025-07-09 16:22:58 -05:00
time_helpers_test.exs test: Make tests time-independent and increase timeouts for reliability 2025-08-02 10:07:47 -05:00