-
Type:
Spec Change
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Component/s: Backpressure
-
None
-
Needed - No Spec Changes
Step 10 of prose test 5 ("Overload Errors with baseBackoffMS override base backoff") asserts exact lower bounds on measured durations:
assertGreaterEqual(exponential_backoff_time, 0.6) assertGreaterEqual(with_base_backoff_ms_time, 0.3) assertLess(with_base_backoff_ms_time, 0.6)
With jitter pinned to 1, the lower bounds equal the exact sum of the backoff sleeps (0.2 + 0.4 = 0.6s, 0.1 + 0.2 = 0.3s), leaving zero tolerance. On some platforms sleep timers run on a millisecond-granularity clock, so a sleep of N ms can complete marginally (sub-millisecond) early when the duration is measured with a higher-resolution clock (e.g. performance.now() in Node.js). With zero tolerance, this fails the assertion.
Proposal: subtract a small tolerance (e.g. 5ms) from the two lower bounds in step 10.
- blocks
-
NODE-7831 Flaky: Client Backpressure (Prose) Test 5: Overload Errors with baseBackoffMS override base backoff [1]
-
- Blocked
-
- split to
-
CDRIVER-6465 Relax duration bounds in backpressure prose test
-
- Blocked
-
-
CSHARP-6229 Relax duration bounds in backpressure prose test
-
- Blocked
-
-
CXX-3581 Relax duration bounds in backpressure prose test
-
- Blocked
-
-
GODRIVER-4141 Relax duration bounds in backpressure prose test
-
- Blocked
-
-
JAVA-6311 Relax duration bounds in backpressure prose test
-
- Blocked
-
-
PHPLIB-1951 Relax duration bounds in backpressure prose test
-
- Blocked
-
-
PYTHON-6092 Relax duration bounds in backpressure prose test
-
- Blocked
-
-
RUBY-3957 Relax duration bounds in backpressure prose test
-
- Blocked
-
-
RUST-2501 Relax duration bounds in backpressure prose test
-
- Blocked
-
-
NODE-7834 Relax duration bounds in backpressure prose test
-
- Closed
-