test(managed): verify timeout budget fairness

This commit is contained in:
Nils Andreas Svee committed 2026-08-10 01:18:38 +07:00
1 parent a67331a297
commit 4632e310d7
5 files changed
+457 -4

No files matched your search

+5
View File
@@ -773,6 +773,11 @@ impl AsyncClient {
self.socket.poll_recv_ready(cx)
}
#[cfg(test)]
pub(crate) fn replace_pending_for_test(&mut self, probe: crate::probe::PendingProbe) {
self.machine.replace_pending_for_test(probe);
}
pub(crate) fn skip_missed_probe_slots_at(&mut self, now: Instant) -> Result<(), ClientError> {
let Some(schedule) = self.schedule.as_mut() else {
return Ok(());