Skip to content

test(engine): add AIMD limiter convergence tests under error injection (#2092) - #3987

Merged
oferchen merged 1 commit into
masterfrom
test/aimd-convergence-2092
May 13, 2026
Merged

oferchen merged 1 commit into
masterfrom
test/aimd-convergence-2092

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Add 12 convergence tests for the AIMD adaptive-concurrency limiter exercising error injection scenarios
  • Cover recovery after error bursts, constant error rate convergence, oscillation amplitude bounding, bounds invariants under pseudo-random patterns, interleaved overload reasons, alpha/beta parameter sensitivity, debounce cascade prevention, transient error bursts with recovery, and concurrent multi-threaded error injection
  • Add two test helpers (complete_success_window, inject_overload) to reduce boilerplate across convergence tests

Test plan

  • CI passes fmt+clippy, nextest on all platforms (Linux, macOS, Windows)
  • All 12 new tests pass under nextest
  • No flakiness from timing-dependent assertions (debounce sleeps are conservative)

#2092)

Add 12 convergence tests exercising the AIMD limiter under error
injection scenarios: recovery after error bursts, constant error rate
convergence, oscillation amplitude bounding, bounds invariant under
pseudo-random patterns, interleaved overload reasons, alpha/beta
parameter sensitivity, debounce cascade prevention, transient error
burst with recovery, and concurrent multi-threaded error injection.
@github-actions github-actions Bot added the test label May 13, 2026
@oferchen
oferchen merged commit 0b697c8 into master May 13, 2026
39 checks passed
@oferchen
oferchen deleted the test/aimd-convergence-2092 branch May 14, 2026 14:58
oferchen added a commit that referenced this pull request May 18, 2026
#2092) (#3987)

Add 12 convergence tests exercising the AIMD limiter under error
injection scenarios: recovery after error bursts, constant error rate
convergence, oscillation amplitude bounding, bounds invariant under
pseudo-random patterns, interleaved overload reasons, alpha/beta
parameter sensitivity, debounce cascade prevention, transient error
burst with recovery, and concurrent multi-threaded error injection.
oferchen added a commit that referenced this pull request Aug 24, 2026
#2092) (#3987)

Add 12 convergence tests exercising the AIMD limiter under error
injection scenarios: recovery after error bursts, constant error rate
convergence, oscillation amplitude bounding, bounds invariant under
pseudo-random patterns, interleaved overload reasons, alpha/beta
parameter sensitivity, debounce cascade prevention, transient error
burst with recovery, and concurrent multi-threaded error injection.
oferchen added a commit that referenced this pull request Aug 24, 2026
#2092) (#3987)

Add 12 convergence tests exercising the AIMD limiter under error
injection scenarios: recovery after error bursts, constant error rate
convergence, oscillation amplitude bounding, bounds invariant under
pseudo-random patterns, interleaved overload reasons, alpha/beta
parameter sensitivity, debounce cascade prevention, transient error
burst with recovery, and concurrent multi-threaded error injection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant