Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Disable failing DNS tests on macOS (#26790)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub authored Feb 2, 2018
1 parent 63c75d0 commit 524f01c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public void DnsObsoleteGetHostByName_EmptyString_ReturnsHostName()
Assert.Contains(Dns.GetHostName(), entry.HostName, StringComparison.OrdinalIgnoreCase);
}

[ActiveIssue(26789, TestPlatforms.OSX)]
[Fact]
public void DnsObsoleteBeginEndGetHostByName_EmptyString_ReturnsHostName()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ public async Task Dns_GetHostEntryAsync_IPAddress_Ok()
await TestGetHostEntryAsync(() => Dns.GetHostEntryAsync(localIPAddress));
}

[ActiveIssue(26789, TestPlatforms.OSX)]
[Theory]
[InlineData("")]
[InlineData(TestSettings.LocalHost)]
public Task Dns_GetHostEntry_HostString_Ok(string hostName) => TestGetHostEntryAsync(() => Task.FromResult(Dns.GetHostEntry(hostName)));

[ActiveIssue(26789, TestPlatforms.OSX)]
[Theory]
[InlineData("")]
[InlineData(TestSettings.LocalHost)]
Expand Down

0 comments on commit 524f01c

Please sign in to comment.