-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Resolve tvOS/iOS FileSystem test failures #74927
Conversation
non-Windows out of the app's working directory, which is readonly on some platforms. Closes: dotnet#67853
Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsUse SetCurrentDirectory on tests which use an unrooted path on non-Windows out of the app's working directory, which is readonly on some platforms. Closes: #67853
|
Outstanding failures are unrelated infra, I think |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
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 see that you're wrapping some of those tests with a remote executor and adding the SetCurrentDirectory invocation at the beginning. I'd like to assume it's fine to do this in a remote executor context, because I worry that changing the current directory would affect the current process. But as long as that doesn't happen, we're ok.
I am also seeing that you're excluding tvos/ios/browser from the test platforms. I guess that is fine, because IIRC, remote executor does not work in any of those platforms.
@adamsitnik @jozkee I'm approving it but if you can take an extra look, that would be great.
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, thank you @directhex !
Use SetCurrentDirectory on tests which use an unrooted path on non-Windows out of the app's working directory, which is readonly on some platforms.
Closes: #67853