From 2aa7620198a4ce6a320b31cdeb9338826674dbd0 Mon Sep 17 00:00:00 2001 From: David Justo Date: Mon, 30 Sep 2024 23:54:21 -0700 Subject: [PATCH] some refactoring --- .github/workflows/smoketest-dotnet-isolated-v4.yml | 1 - .../OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/smoketest-dotnet-isolated-v4.yml b/.github/workflows/smoketest-dotnet-isolated-v4.yml index 30362115d..37773e62c 100644 --- a/.github/workflows/smoketest-dotnet-isolated-v4.yml +++ b/.github/workflows/smoketest-dotnet-isolated-v4.yml @@ -90,7 +90,6 @@ jobs: - name: Run smoke tests (Process Exit) shell: pwsh run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 & - cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 & ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/durable_HttpStartProcessExitOrchestrator diff --git a/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 b/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 index 127f56338..40ff0a991 100644 --- a/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 +++ b/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 @@ -64,6 +64,8 @@ Do { } catch { Write-Host "An error occurred:" -ForegroundColor Red Write-Host $_ -ForegroundColor Red + $output = Receive-Job -Id $job.Id + Write-Host $output # Rethrow the original exception throw