Skip to content

Commit 02bb671

Browse files
authored
[Helix] Don't fail fast on ef tool install issues (may be already installed) (#20958)
1 parent 812dfb9 commit 02bb671

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/helix/content/RunTests/TestRunner.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ await ProcessUtil.RunAsync($"{Options.DotnetRoot}/dotnet",
141141
$"tool install dotnet-ef --global --version {Options.EfVersion}",
142142
environmentVariables: EnvironmentVariables,
143143
outputDataReceived: Console.WriteLine,
144-
errorDataReceived: Console.Error.WriteLine);
144+
errorDataReceived: Console.Error.WriteLine,
145+
throwOnError: false); // EF tool is sometimes already installed so we can ignore this failure
145146

146147
// ';' is the path separator on Windows, and ':' on Unix
147148
Options.Path += RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ";" : ":";

0 commit comments

Comments
 (0)