diff --git a/tests/integration/cli/tests/snapshot.rs b/tests/integration/cli/tests/snapshot.rs index a70dfab409c..e1dfa2d9faf 100644 --- a/tests/integration/cli/tests/snapshot.rs +++ b/tests/integration/cli/tests/snapshot.rs @@ -303,16 +303,17 @@ fn test_snapshot_cowsay() { // assert_json_snapshot!(snapshot); // } +// FIXME: re-enable, disabled due to flakyness // The ability to fork the current process and run a different image but retain // the existing open file handles (which is needed for stdin and stdout redirection) -#[cfg(not(target_os = "windows"))] -#[test] -fn test_snapshot_fork_and_exec() { - let snapshot = TestBuilder::new() - .use_coreutils() - .run_wasm(include_bytes!("./wasm/example-execve.wasm")); - assert_json_snapshot!(snapshot); -} +// #[cfg(not(target_os = "windows"))] +// #[test] +// fn test_snapshot_fork_and_exec() { +// let snapshot = TestBuilder::new() +// .use_coreutils() +// .run_wasm(include_bytes!("./wasm/example-execve.wasm")); +// assert_json_snapshot!(snapshot); +// } // longjmp is used by C programs that save and restore the stack at specific // points - this functionality is often used for exception handling @@ -379,15 +380,16 @@ fn test_snapshot_sleep() { assert_json_snapshot!(snapshot); } +// FIXME: re-enable, disabled due to flakyness // Uses `posix_spawn` to launch a sub-process and wait on it to exit -#[cfg(not(target_os = "windows"))] -#[test] -fn test_snapshot_process_spawn() { - let snapshot = TestBuilder::new() - .use_coreutils() - .run_wasm(include_bytes!("./wasm/example-spawn.wasm")); - assert_json_snapshot!(snapshot); -} +// #[cfg(not(target_os = "windows"))] +// #[test] +// fn test_snapshot_process_spawn() { +// let snapshot = TestBuilder::new() +// .use_coreutils() +// .run_wasm(include_bytes!("./wasm/example-spawn.wasm")); +// assert_json_snapshot!(snapshot); +// } // FIXME: re-enable - hangs on windows and macos // Connects to 8.8.8.8:53 over TCP to verify TCP clients work