-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Cleanup dotnet test for MTP #50552
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
Cleanup dotnet test for MTP #50552
Conversation
52c819a
to
0bb0f5a
Compare
} | ||
catch (Exception ex) | ||
{ | ||
// TODO: it might be better idea to let this exception bubble to |
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.
@mariam-abdulla, what Youssef proposes sounds like a much better way to handle this. Do you agree and can you implement it?
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.
This shouldn't cause crashing or failing of the whole dotnet process.
We can discuss this.
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.
That's what FailFast
does, but we can discuss for sure.
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.
Meanwhile, can we get this merged and follow-up on this later? @nohwnd @mariam-abdulla
if (RuntimeInformation.RuntimeIdentifier.Contains("ios") || | ||
RuntimeInformation.RuntimeIdentifier.Contains("android")) | ||
{ | ||
return; |
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.
is this handled automatically in the new code?
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.
@nohwnd I don't think .NET CLI runs on android/ios AFAIK. For MTP, the reason this code existed for MTP is:
No description provided.