-
Notifications
You must be signed in to change notification settings - Fork 841
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3752 from wasmerio/poll-fixes
Added new snapshots tests that use a fixed MIO and TOKIO
- Loading branch information
Showing
12 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
tests/integration/cli/tests/snapshots/snapshot__snapshot_tokio.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
source: tests/integration/cli/tests/snapshot.rs | ||
assertion_line: 543 | ||
expression: snapshot | ||
--- | ||
{ | ||
"spec": { | ||
"name": "snapshot::test_snapshot_tokio", | ||
"use_packages": [], | ||
"include_webcs": [], | ||
"cli_args": [], | ||
"debug_output": false, | ||
"enable_threads": true, | ||
"enable_network": false | ||
}, | ||
"result": { | ||
"Success": { | ||
"stdout": "", | ||
"stderr": "step-1\nreceived ErrorKind::WouldBlock - receiving on an empty channel\nstep-2\nstep-3\ndata match verified (len=128)\nstep-4\nreceived ErrorKind::WouldBlock - receiving on an empty channel\nstep-5\nstep-A1\nstep-B1\nstep-B2\nstep-A2\ndata match verified (len=128)\nstep-A3\nstep-B3\nstep-B4\nstep-A4\ndata match verified (len=128)\nstep-A5\nreceived ErrorKind::WouldBlock - receiving on an empty channel\nstep-A6\nstep-A7\nreceived ErrorKind::WouldBlock - receiving on an empty channel\nstep-A8\nall done\n", | ||
"exit_code": 0 | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
tests/integration/cli/tests/snapshots/snapshot__snapshot_unix_pipe.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
source: tests/integration/cli/tests/snapshot.rs | ||
assertion_line: 552 | ||
expression: snapshot | ||
--- | ||
{ | ||
"spec": { | ||
"name": "snapshot::test_snapshot_unix_pipe", | ||
"use_packages": [], | ||
"include_webcs": [], | ||
"cli_args": [], | ||
"debug_output": false, | ||
"enable_threads": true, | ||
"enable_network": false | ||
}, | ||
"result": { | ||
"Success": { | ||
"stdout": "all done\n", | ||
"stderr": "received ErrorKind::WouldBlock\ndata matche verified (len=128)\nreceived ErrorKind::WouldBlock\ndata matche verified (len=128)\n", | ||
"exit_code": 0 | ||
} | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-6.79 KB
(96%)
tests/integration/cli/tests/wasm/example-multi-threading.wasm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.