Repository navigation
Include Android IP interface property tests in the test project - #137907
Open
simonrozsival wants to merge 1 commit into
Open
simonrozsival wants to merge 1 commit into
simonrozsival wants to merge 1 commit into
Conversation
Update DNS expectations to match the Android implementation and allow known interface speeds on Linux-Bionic and privileged Android environments. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: Successfully started running 3 pipeline(s). 12 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @karelz, @dotnet/ncl |
wfurt
approved these changes
Nov 19, 2026
simonrozsival
enabled auto-merge (squash)
November 19, 2026 21:52
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IPInterfacePropertiesTest_Android.cswas added in #63633 without being included in the test project's explicit compile items. #66147 later extended the tests to Linux-Bionic, but they still were not being built or run. Include the file alongside the other platform-specific IP interface property tests.This was discovered while investigating the Android network interface speed changes in #136194.
Update stale assertions in
IPInfoTest_AccessAllProperties_NoErrorsto match the Android implementation:DnsAddressesreturns an empty collection andIsDnsEnabledreturnsfalse, rather than throwingPlatformNotSupportedException. Allow speeds of-1or greater, consistent with the existing network-interface basic test, since this class also runs on Linux-Bionic and speed queries can succeed in privileged environments.Validated locally using CoreCLR Release on an Android 15/API 35 arm64 emulator: all six restored tests passed without skips, and the complete
System.Net.NetworkInformation.Functional.Testssuite passed (245 passed, 0 failed, 0 skipped). The Android test project built with 0 warnings and 0 errors. No product code changes.Note
This pull request was prepared by GitHub Copilot.