@@ -21,14 +21,18 @@ public async Task Dns_GetHostEntryAsync_IPAddress_Ok()
2121 }
2222
2323 [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/1488" , TestPlatforms . OSX ) ]
24-
24+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/51377" , TestPlatforms . iOS | TestPlatforms . tvOS | TestPlatforms . MacCatalyst ) ]
2525 [ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotArm64Process ) ) ] // [ActiveIssue("https://github.com/dotnet/runtime/issues/27622")]
2626 [ InlineData ( "" ) ]
2727 [ InlineData ( TestSettings . LocalHost ) ]
28- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/51377" , TestPlatforms . iOS | TestPlatforms . tvOS | TestPlatforms . MacCatalyst ) ]
29- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/55271" , TestPlatforms . Linux ) ]
3028 public async Task Dns_GetHostEntry_HostString_Ok ( string hostName )
3129 {
30+ if ( PlatformDetection . IsSLES )
31+ {
32+ // See https://github.com/dotnet/runtime/issues/55271
33+ throw new SkipTestException ( "SLES Tests environment is not configured for this test to work." ) ;
34+ }
35+
3236 try
3337 {
3438 await TestGetHostEntryAsync ( ( ) => Task . FromResult ( Dns . GetHostEntry ( hostName ) ) ) ;
@@ -73,13 +77,20 @@ public async Task Dns_GetHostEntry_HostString_Ok(string hostName)
7377 }
7478
7579 [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/1488" , TestPlatforms . OSX ) ]
80+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/51377" , TestPlatforms . iOS | TestPlatforms . tvOS | TestPlatforms . MacCatalyst ) ]
7681 [ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotArm64Process ) ) ] // [ActiveIssue("https://github.com/dotnet/runtime/issues/27622")]
7782 [ InlineData ( "" ) ]
7883 [ InlineData ( TestSettings . LocalHost ) ]
79- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/51377" , TestPlatforms . iOS | TestPlatforms . tvOS | TestPlatforms . MacCatalyst ) ]
80- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/55271" , TestPlatforms . Linux ) ]
81- public async Task Dns_GetHostEntryAsync_HostString_Ok ( string hostName ) =>
84+ public async Task Dns_GetHostEntryAsync_HostString_Ok ( string hostName )
85+ {
86+ if ( PlatformDetection . IsSLES )
87+ {
88+ // See https://github.com/dotnet/runtime/issues/55271
89+ throw new SkipTestException ( "SLES Tests environment is not configured for this test to work." ) ;
90+ }
91+
8292 await TestGetHostEntryAsync ( ( ) => Dns . GetHostEntryAsync ( hostName ) ) ;
93+ }
8394
8495 [ Fact ]
8596 public async Task Dns_GetHostEntryAsync_IPString_Ok ( ) =>
0 commit comments