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

Commit b606181

Browse files
authored
Re-Enable disabled DNS tests on OSX (#26949)
These were disabled a few days ago, but it looks like the issue may have been caused by problematic test infrastructure. One of the offending machines has been re-imaged, and the others have been rebooted. Re-enabling the tests should allow us to determine if it was an infrastructure issue, or if there is a real problem here. Fixes: #26789
1 parent 011eeca commit b606181

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

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

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

114-
[ActiveIssue(26789, TestPlatforms.OSX)]
115114
[Fact]
116115
public void DnsObsoleteBeginEndGetHostByName_EmptyString_ReturnsHostName()
117116
{

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

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

23-
[ActiveIssue(26789, TestPlatforms.OSX)]
2423
[Theory]
2524
[InlineData("")]
2625
[InlineData(TestSettings.LocalHost)]
2726
public Task Dns_GetHostEntry_HostString_Ok(string hostName) => TestGetHostEntryAsync(() => Task.FromResult(Dns.GetHostEntry(hostName)));
2827

29-
[ActiveIssue(26789, TestPlatforms.OSX)]
3028
[Theory]
3129
[InlineData("")]
3230
[InlineData(TestSettings.LocalHost)]

0 commit comments

Comments
 (0)