Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit test for verifying that caching works when running packages twice #3512

Merged
merged 23 commits into from
Jan 26, 2023
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
037dcd3
Implement failing test case to debug issues with wasmer run caching
fschutt Jan 20, 2023
6be874f
Fix CI unit test
fschutt Jan 20, 2023
f201f5c
nit: GIT_HASH_SHORT should show 7 chars, not 5
fschutt Jan 20, 2023
436cd79
Fix comments
fschutt Jan 20, 2023
e627ec1
Debug test_run_customlambda not working
fschutt Jan 20, 2023
99b0cc7
Debug test_run_customlambda not working
fschutt Jan 20, 2023
958da9d
Fix merge errors
fschutt Jan 20, 2023
3ea4ef2
Fix make lint
fschutt Jan 20, 2023
ebdf681
Fix CI tests
fschutt Jan 20, 2023
b4600c5
Debug error of try_unpack_targz
fschutt Jan 20, 2023
5e53391
Merge branch 'master' into fix-caching-issue-customlambda
fschutt Jan 20, 2023
ceb6541
Add more debugging to .gz / .xz untar process
fschutt Jan 20, 2023
1dc903d
Debug tar gz unpacking
fschutt Jan 20, 2023
ce575e2
Debug .tar.gz unpacking
fschutt Jan 20, 2023
28b901d
Fix cargo fmt
fschutt Jan 20, 2023
ca4b976
Normalize file paths when unpacking .tar.gz on Windows
fschutt Jan 23, 2023
c073cfe
Add more debug info
fschutt Jan 23, 2023
7b4ea13
Fix issue with ar.unpack()
fschutt Jan 23, 2023
5779a7f
Fix unpack_with_parent function
fschutt Jan 23, 2023
0b08bf3
Disable test_run_customlambda on Windows, add tracking issue comment
fschutt Jan 26, 2023
e3db893
Merge branch 'master' into fix-caching-issue-customlambda
fschutt Jan 26, 2023
580b643
Merge branch 'master' into fix-caching-issue-customlambda
fschutt Jan 26, 2023
add6663
Merge branch 'master' into fix-caching-issue-customlambda
fschutt Jan 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix merge errors
  • Loading branch information
fschutt committed Jan 20, 2023
commit 958da9d54e353e26dbeb9503239d8e3d35f85aab
4 changes: 0 additions & 4 deletions tests/integration/cli/tests/run.rs
Original file line number Diff line number Diff line change
@@ -71,11 +71,7 @@ fn test_run_customlambda() -> anyhow::Result<()> {
let stdout_output = std::str::from_utf8(&output.stdout).unwrap();
let stderr_output = std::str::from_utf8(&output.stderr).unwrap();

<<<<<<< HEAD
println!("first run:");
=======
println!("second run:");
>>>>>>> 6fb1300fa0 (Debug test_run_customlambda not working)
println!("stdout: {stdout_output}");
println!("stderr: {stderr_output}");
assert_eq!(stdout_output, "139583862445\n");