Skip to content

Use synctest for timeout tests#81

Merged
mgomes merged 1 commit into
masterfrom
test/use-synctest-high-value
Jun 6, 2026
Merged

Use synctest for timeout tests#81
mgomes merged 1 commit into
masterfrom
test/use-synctest-high-value

Conversation

@mgomes
Copy link
Copy Markdown
Owner

@mgomes mgomes commented Jun 6, 2026

Why

Some timeout and concurrency tests were depending on tiny real sleeps to prove deadline behavior and handler overlap. That makes the tests slower than necessary and ties correctness to scheduler timing.

Using testing/synctest keeps these checks deterministic and instant while preserving the existing behavior under test.

@mgomes
Copy link
Copy Markdown
Owner Author

mgomes commented Jun 6, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@mgomes mgomes merged commit 0f1ae76 into master Jun 6, 2026
7 checks passed
@mgomes mgomes deleted the test/use-synctest-high-value branch June 6, 2026 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant