Skip to content

fix(tests): replace real test sleeps with clock (#2169) - #2833

Merged
dan-petty merged 1 commit into
mainfrom
fix/2169-the-qdrant-retry-the-process-fake
Oct 31, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2169-the-qdrant-retry-the-process-fake

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Description

Route Qdrant retry backoff and ProcessFake delay through the clock seam, and replace real-time sleeps in test bodies with the clock fixture or event synchronization.

Verification

  • Replayed defect tests on merge base: uv run devops ci fail-to-pass --base origin/main passed.
  • Fast static checks, formatting, linting, and mypy type checks pass.
  • Full suite of updated tests pass with zero positive-time wall-clock sleeps.

Closes #2169

@dan-petty dan-petty added the type/bug Type bug: the code does not do what it must label Oct 31, 2026
@dan-petty
dan-petty force-pushed the fix/2169-the-qdrant-retry-the-process-fake branch from 23302b7 to 894d4ba Compare October 31, 2026 04:52
Route Qdrant retry backoff and ProcessFake delay through the clock seam,
and replace real-time sleeps in test bodies with clock or event waits.

Closes #2169
@dan-petty
dan-petty force-pushed the fix/2169-the-qdrant-retry-the-process-fake branch from 894d4ba to bc7d214 Compare October 31, 2026 05:28
@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 05:37
@dan-petty
dan-petty merged commit 506f769 into main Oct 31, 2026
19 checks passed
@dan-petty
dan-petty deleted the fix/2169-the-qdrant-retry-the-process-fake branch October 31, 2026 05:38
dan-petty pushed a commit that referenced this pull request Oct 31, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.26.0](v0.25.0...v0.26.0)
(2026-10-31)


### Features

* **k8s:** preview requests in dry run for cluster commands
([#2839](#2839))
([b6de1a4](b6de1a4)),
closes [#2238](#2238)
* **pr:** preview requests in dry run for pr commands
([#2835](#2835))
([2a9b746](2a9b746)),
closes [#2234](#2234)


### Bug Fixes

* **k8s:** enforce the window of each gateway deployment
([#2843](#2843))
([2ff7d9f](2ff7d9f)),
closes [#2825](#2825)
* **roadmap:** measure a task group by the files its step reads
([#2847](#2847))
([2f3986a](2f3986a)),
closes [#2838](#2838)
* **tests:** replace real test sleeps with clock
([#2169](#2169))
([#2833](#2833))
([506f769](506f769))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(tests): the qdrant retry, the process fake's delay and 24 test bodies wait on the clock fixture or an event, not on real time

1 participant