disable UDS tests on Nano (dotnet/corefx#37652)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Tue, 14 May 2019 17:41:01 +0000 (10:41 -0700)
committerGitHub <noreply@github.com>
Tue, 14 May 2019 17:41:01 +0000 (10:41 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/47be0d100765c165c085fd492786783b1833ff95

src/libraries/System.Net.Sockets/tests/FunctionalTests/UnixDomainSocketTest.netcoreapp.cs

index fbc5b74..23fa304 100644 (file)
@@ -445,7 +445,7 @@ namespace System.Net.Sockets.Tests
                 if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
                 {
                     // UDS support added in April 2018 Update
-                    if (!PlatformDetection.IsWindows10Version1803OrGreater)
+                    if (!PlatformDetection.IsWindows10Version1803OrGreater || PlatformDetection.IsWindowsNanoServer)
                     {
                         return false;
                     }