Skip to content

fix(tests): loosen p3 outbound content length error conditions#13606

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
vados-cosmonic:fix(tests)=loosen-p3-async-http-content-length-acceptance-criteria
Jun 10, 2026
Merged

fix(tests): loosen p3 outbound content length error conditions#13606
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
vados-cosmonic:fix(tests)=loosen-p3-async-http-content-length-acceptance-criteria

Conversation

@vados-cosmonic

Copy link
Copy Markdown
Contributor

This commit updates the test to allow for timings that match non-wasmtime implementations (i.e. Jco), which may not report the intermediate error (ErrorCode::HttpProtocolError) ahead of the "real" expected error (ErrorCode::HttpRequestBodySize)

@vados-cosmonic vados-cosmonic requested a review from a team as a code owner June 10, 2026 07:51
@vados-cosmonic vados-cosmonic requested review from pchickey and removed request for a team June 10, 2026 07:51
@vados-cosmonic

Copy link
Copy Markdown
Contributor Author

Special shout out to @rvolosatovs -- please let me know if I missed anything here intent-wise.

Comment thread crates/test-programs/src/bin/p3_http_outbound_request_content_length.rs Outdated
@vados-cosmonic vados-cosmonic force-pushed the fix(tests)=loosen-p3-async-http-content-length-acceptance-criteria branch 3 times, most recently from 2f915b1 to 7867ca7 Compare June 10, 2026 08:50
This commit updates the test to allow for timings that match
non-wasmtime implementations (i.e. Jco), which may not report the
intermediate error (`ErrorCode::HttpProtocolError`) ahead of the
"real" expected error (`ErrorCode::HttpRequestBodySize`)
@vados-cosmonic vados-cosmonic force-pushed the fix(tests)=loosen-p3-async-http-content-length-acceptance-criteria branch from 7867ca7 to 58d4aa7 Compare June 10, 2026 08:52
@alexcrichton alexcrichton added this pull request to the merge queue Jun 10, 2026
Merged via the queue into bytecodealliance:main with commit 5204666 Jun 10, 2026
51 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.

3 participants