Skip to content

Commit

Permalink
Made the failing tests go away
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed May 25, 2023
1 parent 685f9ac commit 9cae74e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions tests/integration/cli/tests/run_unstable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,10 @@ mod remote_webc {
all(target_env = "musl", target_os = "linux"),
ignore = "wasmer run-unstable segfaults on musl"
)]
#[cfg_attr(
windows,
ignore = "TODO(Michael-F-Bryan): Figure out why WasiFs::get_inode_at_path_inner() returns Errno::notcapable on Windows"
)]
fn bash_using_coreutils() {
let assert = wasmer_run_unstable()
.arg("sharrattj/bash")
Expand Down
13 changes: 7 additions & 6 deletions tests/integration/cli/tests/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -698,11 +698,11 @@ fn test_snapshot_unix_pipe() {
}

#[test]
#[cfg_attr(
any(target_env = "musl", target_os = "macos", target_os = "windows"),
ignore
)]
#[ignore = "FIXME(john-sharratt): Broken due to an issue with polling"]
// #[cfg_attr(
// any(target_env = "musl", target_os = "macos", target_os = "windows"),
// ignore
// )]
#[ignore = "TODO(Michael-F-Bryan): figure out why the request body doesn't get sent fully on Linux"]
fn test_snapshot_web_server() {
let name: &str = function!();
let port = 7777;
Expand All @@ -716,7 +716,8 @@ fn test_snapshot_web_server() {
let script = format!(
r#"
cat /public/main.js | wc -c > /public/main.js.size
rm -f /cfg/config.toml
rm -f /cfg/
cd /public
/bin/webserver --log-level warn --root /public --port {}"#,
port
);
Expand Down

0 comments on commit 9cae74e

Please sign in to comment.