Disabling global Shared FX lookup tests on windows
authorRama Krishnan Raghupathy <ramarag@microsoft.com>
Tue, 23 May 2017 18:52:20 +0000 (11:52 -0700)
committerRama Krishnan Raghupathy <ramarag@microsoft.com>
Tue, 23 May 2017 22:01:09 +0000 (15:01 -0700)
Commit migrated from https://github.com/dotnet/core-setup/commit/b5a8215c0d2c0ae700fe979947b8d99f6e3bedc4

src/installer/test/HostActivationTests/GivenThatICareAboutMultilevelSharedFxLookup.cs

index 0669d75..5b31199 100644 (file)
@@ -159,14 +159,17 @@ namespace Microsoft.DotNet.CoreSetup.Test.HostActivation.MultilevelSharedFxLooku
                 .Pass()
                 .And
                 .HaveStdErrContaining(_exeSelectedMessage);
-
-            // Remove dummy folders from user dir
-            DeleteAvailableSharedFxVersions(_userSharedFxBaseDir, "9999.0.0");
         }
 
         [Fact]
         public void SharedFxLookup_Must_Roll_Forward_Before_Looking_Into_Another_Folder()
         {
+            //https://github.com/dotnet/core-setup/issues/1553
+            if (RuntimeEnvironment.OperatingSystemPlatform == Platform.Windows)
+            {
+                return;
+            }
+
             var fixture = PreviouslyBuiltAndRestoredPortableTestProjectFixture
                 .Copy();
 
@@ -407,6 +410,12 @@ namespace Microsoft.DotNet.CoreSetup.Test.HostActivation.MultilevelSharedFxLooku
         [Fact]
         public void Roll_Forward_On_No_Candidate_Fx_Must_Look_Into_All_Lookup_Folders()
         {
+            //https://github.com/dotnet/core-setup/issues/1553
+            if (RuntimeEnvironment.OperatingSystemPlatform == Platform.Windows)
+            {
+                return;
+            }
+
             var fixture = PreviouslyBuiltAndRestoredPortableTestProjectFixture
                 .Copy();
 
@@ -467,6 +476,12 @@ namespace Microsoft.DotNet.CoreSetup.Test.HostActivation.MultilevelSharedFxLooku
         [Fact]
         public void Roll_Forward_On_No_Candidate_Fx_May_Be_Enabled_Through_Runtimeconfig_Json_File()
         {
+            //https://github.com/dotnet/core-setup/issues/1553
+            if (RuntimeEnvironment.OperatingSystemPlatform == Platform.Windows)
+            {
+                return;
+            }
+
             var fixture = PreviouslyBuiltAndRestoredPortableTestProjectFixture
                 .Copy();
 
@@ -509,6 +524,12 @@ namespace Microsoft.DotNet.CoreSetup.Test.HostActivation.MultilevelSharedFxLooku
         [Fact]
         public void Roll_Forward_On_No_Candidate_Fx_May_Be_Enabled_Through_Argument()
         {
+            //https://github.com/dotnet/core-setup/issues/1553
+            if (RuntimeEnvironment.OperatingSystemPlatform == Platform.Windows)
+            {
+                return;
+            }
+            
             var fixture = PreviouslyBuiltAndRestoredPortableTestProjectFixture
                 .Copy();