Skip to content

Commit

Permalink
Revert "$null input for dotnet test"
Browse files Browse the repository at this point in the history
This reverts commit 7938782.
  • Loading branch information
Piedone committed Nov 20, 2022
1 parent 7938782 commit dddbbee
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/actions/test-dotnet/Invoke-SolutionTests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,9 @@ foreach ($test in $tests) {
$test
)

# Piping null is an attempt to emulate the fix under
# https://github.com/microsoft/vstest/issues/2080#issuecomment-539879345 for dotnet test hangs. See
# https://github.com/Lombiq/UI-Testing-Toolbox/issues/228 for details.
# Filtering is necessary for annoying messages coming from UI testing but only under Ubuntu. There are no actual
# errors.
$null | dotnet test @dotnetTestSwitches 2>&1 |
dotnet test @dotnetTestSwitches 2>&1 |
Where-Object { $_ -notlike '*Connection refused [[]::ffff:127.0.0.1[]]*' -and $_ -notlike '*ChromeDriver was started successfully*' }

if ($?)
Expand Down

0 comments on commit dddbbee

Please sign in to comment.