test(R6): backoff stress tests for AccountSyncManager #24

Merged
guettlibot merged 1 commits from task/r6-reliability-fuzz-tests into main 2026-05-13 21:37:41 +00:00
guettlibot commented 2026-05-13 21:34:09 +00:00 (Migrated from codeberg.org)

Summary

  • Add test/unit/reliability_runner_test.dart with 3 fake_async stress tests
  • Verify exponential backoff caps at 900 s after repeated failures
  • Verify backoff resets to minimum after a successful sync
  • Verify concurrent multi-account failures all stay bounded

Test plan

  • task check-fast passes locally
  • All 3 new tests pass with fake_async time control
## Summary - Add `test/unit/reliability_runner_test.dart` with 3 `fake_async` stress tests - Verify exponential backoff caps at 900 s after repeated failures - Verify backoff resets to minimum after a successful sync - Verify concurrent multi-account failures all stay bounded ## Test plan - [x] `task check-fast` passes locally - [x] All 3 new tests pass with `fake_async` time control
Sign in to join this conversation.