Run client stacks under simulation - #19
Merged
Merged
Conversation
Every connection the tests open now gets closed and settled before the loop goes down, so the file runs clean under -W error::ResourceWarning. Adds the reset path, the descriptors a run leaves behind, the malformed connect addresses, and a trace-hash pair over the whole client sequence.
The descriptor only turns readable on the peer's EOF; a reset, a local close or the end of the run closes it and fileno() reports -1, which a readability poll reads as dead just the same. Also notes that the number is OS-assigned and outside the determinism guarantee.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
aiohttp's client and httpx now complete real requests under a SimLoop; both compatibility rows flip to works, probe-verified.
Suite green including a determinism case that drives the whole client path; no new runtime dependencies; ResourceWarning footprint identical to main.