Run unconditional msquic Linux test only in our CI, i.e. Helix (#82108)
authorMarie Píchová <11718369+ManickaP@users.noreply.github.com>
Wed, 15 Feb 2023 08:48:29 +0000 (09:48 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Feb 2023 08:48:29 +0000 (09:48 +0100)
src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicPlatformDetectionTests.cs

index d5cdc16..f4f12a9 100644 (file)
@@ -31,7 +31,7 @@ namespace System.Net.Quic.Tests
 
         [ActiveIssue("https://github.com/dotnet/runtime/issues/81901", typeof(PlatformDetection), nameof(PlatformDetection.IsAlpine314), nameof(PlatformDetection.IsInContainer))]
         [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))]
-        public async Task SupportedLinuxPlatformsWithMsquic_IsSupportedIsTrue()
+        public async Task SupportedLinuxPlatformsWithMsQuic_IsSupportedIsTrue()
         {
             using Process find = new Process();
             find.StartInfo.FileName = "find";
@@ -57,7 +57,7 @@ namespace System.Net.Quic.Tests
         [ActiveIssue("https://github.com/dotnet/runtime/issues/81901", typeof(PlatformDetection), nameof(PlatformDetection.IsMariner1), nameof(PlatformDetection.IsInContainer))]
         [ActiveIssue("https://github.com/dotnet/runtime/issues/81901", typeof(PlatformDetection), nameof(PlatformDetection.IsCentos7), nameof(PlatformDetection.IsInContainer))]
         [ActiveIssue("https://github.com/dotnet/runtime/issues/82055", typeof(PlatformDetection), nameof(PlatformDetection.IsUbuntu1804), nameof(PlatformDetection.IsArmProcess), nameof(PlatformDetection.IsInContainer))]
-        [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))]
+        [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsLinux), nameof(PlatformDetection.IsInHelix))]
         public void SupportedLinuxPlatforms_IsSupportedIsTrue()
         {
             _output.WriteLine($"Running on {PlatformDetection.GetDistroVersionString()}");