-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
chore(tests): enable upgrade_tests
again
#18207
Conversation
These tests would sometimes throw an `ExecutableFileBusy` error, most likely due to parallel `std::fs::copy` calls of the same file. This is an attempt to fix the issue by switching to `std::fs::hard_link`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Let's hope this indeed does fix the flakiness.
|
Yup :( |
@aapoalas @bartlomieju The |
@GJZwiers good catch; should we revert that change or can it be fixed in-line in this PR? |
@bartlomieju I think maybe it should be reverted, there was a regression in 0742ea1 because cd /tmp
mkdir foo
deno upgrade --version 1.11.5 --output foo/deno
error: No such file or directory (os error 2) But on 1.32.1 it works: deno upgrade --version 1.11.5 --output foo/deno
Downloading https://github.com/denoland/deno/releases/download/v1.11.5/deno-x86_64-unknown-linux-gnu.zip
Deno is upgrading to version 1.11.5
Archive: /tmp/.tmp2QmbJs/deno.zip
inflating: deno
Upgraded successfully
Release notes: https://github.com/denoland/deno/releases/tag/v1.11.5
Blog post: https://deno.com/blog/v1.11 |
Head branch was pushed to by a user without write access
This reverts commit 13aee11.
@bartlomieju I am getting test failures after pulling the latest main branch but only on Windows. It does not happen locally, was anything changed to the CI recently?
|
Closes #7412
These tests would sometimes throw an
ExecutableFileBusy
error, most likely due to parallelstd::fs::copy
calls of the same file. This is an attempt to fix the issue by switching tostd::fs::hard_link
.