Skip to content

Fix HTTP deadline roundtrip property#363

Merged
ruslandoga merged 1 commit into
masterfrom
ruslandoga-conductor/fix-http-deadline-roundtrip
May 18, 2026
Merged

Fix HTTP deadline roundtrip property#363
ruslandoga merged 1 commit into
masterfrom
ruslandoga-conductor/fix-http-deadline-roundtrip

Conversation

@ruslandoga
Copy link
Copy Markdown
Collaborator

Updates the HTTP deadline roundtrip property to use assert_in_delta for the timestamp comparison. The previous asymmetric bounds could fail when the timeout-to-deadline conversion read the monotonic clock one millisecond later than the original deadline calculation. This keeps the implementation unchanged and makes the property reflect the existing 50 ms tolerance. Validated with mix test test/ch/http_test.exs --seed 0 and mix test.

@ruslandoga ruslandoga marked this pull request as ready for review May 18, 2026 20:51
@ruslandoga ruslandoga merged commit 5c9244a into master May 18, 2026
2 checks passed
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