We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eba6f1 commit d6be630Copy full SHA for d6be630
src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/IPGlobalPropertiesTest.cs
@@ -212,7 +212,10 @@ public async Task GetUnicastAddresses_NotEmpty()
212
public void IPGlobalProperties_DomainName_ReturnsEmptyStringWhenNotSet()
213
{
214
IPGlobalProperties gp = IPGlobalProperties.GetIPGlobalProperties();
215
- Assert.Equal(string.Empty, gp.DomainName);
+
216
+ // [ActiveIssue("https://github.com/dotnet/runtime/issues/109280")]
217
+ string expectedDomainName = PlatformDetection.IsAndroid ? "localdomain" : string.Empty;
218
+ Assert.Equal(expectedDomainName, gp.DomainName);
219
}
220
221
0 commit comments