-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Disable some TimeZoneInfoTests on Android #118329
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
Disable some TimeZoneInfoTests on Android #118329
Conversation
|
/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.
Pull Request Overview
This PR temporarily disables specific TimeZoneInfo tests on Android and refactors platform detection logic to address CI failures caused by Android device updates that changed timezone display name formatting.
Key changes:
- Disables
NoBackwardTimeZonestest on Android platform usingActiveIssueattribute - Refactors Apple mobile platform condition to use
PlatformDetection.IsAppleMobilefor cleaner code - Conditionally excludes Sydney timezone test data on Android due to inconsistent display name formatting
src/libraries/System.Runtime/tests/System.Runtime.Tests/System/TimeZoneInfoTests.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Runtime/tests/System.Runtime.Tests/System/TimeZoneInfoTests.cs
Outdated
Show resolved
Hide resolved
+ disable NoBackwardTimeZones test on Android
ba7d752 to
e091959
Compare
|
/backport to release/9.0-staging |
|
Started backporting to release/9.0-staging: https://github.com/dotnet/runtime/actions/runs/16782482600 |
Addressing: #117731, #117903