xia-chao opened PR #14886 from xia-chao:feat/p3-between-bytes-timeout to bytecodealliance:main:
this is the p3 bit i left out of #14602, between-bytes-timeout never got a test there.
xia-chao removed the review request for wasmtime-wasi-reviewers from PR #14886.
xia-chao requested wasmtime-wasi-reviewers for a review on PR #14886.
xia-chao requested rvolosatovs for a review on PR #14886.
xia-chao removed the review request for wasmtime-core-reviewers from PR #14886.
xia-chao requested dicej for a review on PR #14886.
xia-chao requested wasmtime-core-reviewers for a review on PR #14886.
:thumbs_up: alexcrichton submitted PR review:
Thanks!
:speech_balloon: alexcrichton created PR review comment:
Could this duration be a bit smaller? 500ms is an awful long time for a test to be stalled doing nothing in general
xia-chao updated PR #14886.
:memo: xia-chao submitted PR review.
:speech_balloon: xia-chao created PR review comment:
I changed 500ms to 100ms, I don't recommend reducing it.
:memo: alexcrichton submitted PR review.
:speech_balloon: alexcrichton created PR review comment:
I don't recommend reducing it.
Could you elaborate as to why? I've tried to use 10-50ms for this historically, ideally 10-ish. Why would this want a minimum of 100?
:memo: xia-chao submitted PR review.
:speech_balloon: xia-chao created PR review comment:
no real measurement. just worried 10 ms is tight on a loaded ci box, so i kept 100 ms. probably overkill, but flaky tests are worse.
:memo: alexcrichton submitted PR review.
:speech_balloon: alexcrichton created PR review comment:
But this is testing that a timeout actually occurs right? With the server sleeping for 5+ seconds I'd expect that a short timeout of ~10ms would always fire here
:speech_balloon: xia-chao created PR review comment:
hmm both fire, yeah. my worry was the first chunk not arriving yet on a slow box, then it still passes without really testing the second chunk. Or 50ms, that's enough margin.
:memo: xia-chao submitted PR review.
alexcrichton added PR #14886 wasi-http: test between-bytes-timeout on p3 to the merge queue.
:thumbs_up: alexcrichton submitted PR review.
:check: alexcrichton merged PR #14886.
alexcrichton removed PR #14886 wasi-http: test between-bytes-timeout on p3 from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC