Skip to content

StrictConnPool: inject Clock and remove sleeps from unit tests#647

Draft
arturobernalg wants to merge 2 commits intoapache:masterfrom
arturobernalg:strict-clock-injection
Draft

StrictConnPool: inject Clock and remove sleeps from unit tests#647
arturobernalg wants to merge 2 commits intoapache:masterfrom
arturobernalg:strict-clock-injection

Conversation

@arturobernalg
Copy link
Member

Update unit tests to use a deterministic clock instead of Thread.sleep(). No behavior change intended.

This is the first small step toward faster, stronger pool contract testing, as suggested in review feedback (subsequent PRs will apply the same pattern to other pools and address fuzzer runtime/invariants separately)

@arturobernalg arturobernalg requested review from ok2c and rschmitt March 1, 2026 15:42
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