Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 524f01c

Browse files
authored
Disable failing DNS tests on macOS (#26790)
1 parent 63c75d0 commit 524f01c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/System.Net.NameResolution/tests/FunctionalTests/GetHostByNameTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ public void DnsObsoleteGetHostByName_EmptyString_ReturnsHostName()
111111
Assert.Contains(Dns.GetHostName(), entry.HostName, StringComparison.OrdinalIgnoreCase);
112112
}
113113

114+
[ActiveIssue(26789, TestPlatforms.OSX)]
114115
[Fact]
115116
public void DnsObsoleteBeginEndGetHostByName_EmptyString_ReturnsHostName()
116117
{

src/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ public async Task Dns_GetHostEntryAsync_IPAddress_Ok()
2020
await TestGetHostEntryAsync(() => Dns.GetHostEntryAsync(localIPAddress));
2121
}
2222

23+
[ActiveIssue(26789, TestPlatforms.OSX)]
2324
[Theory]
2425
[InlineData("")]
2526
[InlineData(TestSettings.LocalHost)]
2627
public Task Dns_GetHostEntry_HostString_Ok(string hostName) => TestGetHostEntryAsync(() => Task.FromResult(Dns.GetHostEntry(hostName)));
2728

29+
[ActiveIssue(26789, TestPlatforms.OSX)]
2830
[Theory]
2931
[InlineData("")]
3032
[InlineData(TestSettings.LocalHost)]

0 commit comments

Comments
 (0)