From de230926dc6ae08650688fe4cf2fd0a913392501 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sat, 11 Apr 2026 04:06:46 -0600 Subject: [PATCH] net: temporarily disable `tcp_stream` `try_read_buf` test on WASI (#8036) This test is flaky on WASI until https://github.com/bytecodealliance/wasmtime/issues/13040 has been addressed. See https://github.com/tokio-rs/tokio/issues/8034 for additional details. --- tokio/tests/tcp_stream.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tokio/tests/tcp_stream.rs b/tokio/tests/tcp_stream.rs index 2583103b6..e91f6c73f 100644 --- a/tokio/tests/tcp_stream.rs +++ b/tokio/tests/tcp_stream.rs @@ -312,6 +312,10 @@ fn write_until_pending(stream: &mut TcpStream) -> usize { total } +// This test is temporarily disabled on WASI due to +// https://github.com/bytecodealliance/wasmtime/issues/13040. We can re-enable +// it once that issue is fixed and the fix is included in a Wasmtime release. +#[cfg_attr(target_os = "wasi", ignore)] #[tokio::test] #[cfg_attr(miri, ignore)] // No `socket` on miri. async fn try_read_buf() {