-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
test: allow external_access_plan run on windows #13531
base: main
Are you sure you want to change the base?
Conversation
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.
I suspect it is not used when not all features are activated 🤔
Thanks @zhuliquan - it would also be really nice to figure out how you are running the code/tests to see this error. Maybe there is some better way we can come up with to fix it |
we should really avoid This is used in |
84915b6
to
53b7305
Compare
53b7305
to
32acd9d
Compare
Yeah, I fix code and enable it let new_file_name = if cfg!(target_os = "windows") {
// Windows path separator is different from Unix
file_name.replace("\\", "/")
} else {
file_name.clone()
}; |
🤔 the test now seems to be failing I wonder if it has to do with how the temp files are created 🤔 |
I noticed that the char '%' appears in the directory, and the Windows system seems to be unable to find the file.
So I fix below code to avoid char '%'.
|
Which issue does this PR close?
Closes #13530.
Rationale for this change
I always receive this warning when running
cargo clippy
, and I would like to get rid of it.What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?