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.
This commit is contained in:
Joel Dice
2026-04-11 12:06:46 +02:00
committed by GitHub
parent 432ec3f2b2
commit de230926dc
+4
View File
@@ -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() {