Temporary fix for failing GUI test in CI. (dotnet/core-setup#6363)
authorVitek Karas <vitek.karas@microsoft.com>
Thu, 9 May 2019 06:25:08 +0000 (23:25 -0700)
committerGitHub <noreply@github.com>
Thu, 9 May 2019 06:25:08 +0000 (23:25 -0700)
The test has two parts:
* Verify that when the env. variable is used, the process is not blocking with a popup dialog
* Verify that errors are written to stderr

The first part seems to work just fine, so keeping that.
The second part about stderr doesn't work in some CI runs (sometimes it does work). Removing that part of the validation for now.

Commit migrated from https://github.com/dotnet/core-setup/commit/a256a88c0208936a0cd16ce0fa07c065d964dd31

src/installer/test/HostActivationTests/StandaloneAppActivation.cs

index 24e4b43..22a78b9 100644 (file)
@@ -354,8 +354,6 @@ namespace Microsoft.DotNet.CoreSetup.Test.HostActivation
 
                 Assert.True(false, "The process failed to exit in the alloted time, it's possible it has a dialog up which should not be there.");
             }
-
-            commandResult.Should().HaveStdErrContaining("This executable is not bound to a managed DLL to execute.");
         }
 
 #if WINDOWS