Skip to content

Commit

Permalink
some refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid committed Oct 1, 2024
1 parent 2aa7620 commit ee04d91
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Do {
Write-Host "Starting the Functions host..." -ForegroundColor Yellow

# The '&' operator is used to run the command in the background
cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 &
cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 *> Debug.txt &

Write-Host "Waiting for the Functions host to start up..." -ForegroundColor Yellow
Start-Sleep -Seconds 40
Expand Down Expand Up @@ -64,7 +64,7 @@ Do {
} catch {
Write-Host "An error occurred:" -ForegroundColor Red
Write-Host $_ -ForegroundColor Red
$output = Receive-Job -Id $job.Id
$output = cat Debug.txt
Write-Host $output

# Rethrow the original exception
Expand Down

0 comments on commit ee04d91

Please sign in to comment.