diff --git a/host/tests/command.rs b/host/tests/command.rs index 89b642f43696..67c8c0bc0952 100644 --- a/host/tests/command.rs +++ b/host/tests/command.rs @@ -466,10 +466,11 @@ async fn run_path_symlink_trailing_slashes(store: Store, wasi: Command) } async fn run_poll_oneoff_files(store: Store, wasi: Command) -> Result<()> { - // trapping upwrap in poll_oneoff in adapter. - // maybe this is related to the "if fd isnt a stream, request a pollable which completes - // immediately so itll immediately fail" behavior, which i think breaks internal invariant... - expect_fail(run_with_temp_dir(store, wasi).await) + if cfg!(windows) { + expect_fail(run_with_temp_dir(store, wasi).await) + } else { + run_with_temp_dir(store, wasi).await + } } async fn run_poll_oneoff_stdio(store: Store, wasi: Command) -> Result<()> {