diff --git a/sdk/messaging/azeventhubs/internal/eh/stress/deploy.ps1 b/sdk/messaging/azeventhubs/internal/eh/stress/deploy.ps1 index 79cd01e79509..30bb9a04a7be 100644 --- a/sdk/messaging/azeventhubs/internal/eh/stress/deploy.ps1 +++ b/sdk/messaging/azeventhubs/internal/eh/stress/deploy.ps1 @@ -9,7 +9,7 @@ function deployUsingLocalAddons() { $helmEnv = "pg2" if (-not (Get-ChildItem $stressTestAddonsFolder)) { - Write-Host "Can't find the the new stress test adons folder at $stressTestAddonsFolder" + Write-Host "Can't find the the new stress test addons folder at $stressTestAddonsFolder" return } diff --git a/sdk/messaging/azeventhubs/internal/eh/stress/templates/stress-test-job.yaml b/sdk/messaging/azeventhubs/internal/eh/stress/templates/stress-test-job.yaml index cfaec8a06a48..4a6ff57cc6a0 100644 --- a/sdk/messaging/azeventhubs/internal/eh/stress/templates/stress-test-job.yaml +++ b/sdk/messaging/azeventhubs/internal/eh/stress/templates/stress-test-job.yaml @@ -22,7 +22,7 @@ spec: - > set -ex; mkdir -p "$DEBUG_SHARE"; - /app/stress "{{.Stress.testTarget}}" "-rounds" "{{.Stress.rounds}}" "-prefetch" "{{.Stress.prefetch}}" "{{.Stress.verbose}}" "-sleepAfter" "{{.Stress.sleepAfter}}" | tee -a "${DEBUG_SHARE}/{{ .Stress.Scenario }}-`date +%s`.log"; + /app/stress "{{.Stress.testTarget}}" "-rounds" "{{.Stress.rounds}}" "-prefetch" "{{.Stress.prefetch}}" "{{.Stress.verbose}}" "-sleepAfter" "{{.Stress.sleepAfter}}" 2>&1 | tee -a "${DEBUG_SHARE}/{{ .Stress.Scenario }}-`date +%s`.log"; # Pulls the image on pod start, always. We tend to push to the same image and tag over and over again # when iterating, so this is a must. imagePullPolicy: Always diff --git a/sdk/messaging/azservicebus/internal/stress/deploy.ps1 b/sdk/messaging/azservicebus/internal/stress/deploy.ps1 index e1026202066f..c6191940ade6 100644 --- a/sdk/messaging/azservicebus/internal/stress/deploy.ps1 +++ b/sdk/messaging/azservicebus/internal/stress/deploy.ps1 @@ -8,7 +8,7 @@ function deployUsingLocalAddons() { $helmEnv = "pg2" if (-not (Get-ChildItem $stressTestAddonsFolder)) { - Write-Host "Can't find the the new stress test adons folder at $stressTestAddonsFolder" + Write-Host "Can't find the the new stress test addons folder at $stressTestAddonsFolder" return } diff --git a/sdk/messaging/azservicebus/internal/stress/templates/stress-test-job.yaml b/sdk/messaging/azservicebus/internal/stress/templates/stress-test-job.yaml index b183e545ffd8..5fb46c12b168 100644 --- a/sdk/messaging/azservicebus/internal/stress/templates/stress-test-job.yaml +++ b/sdk/messaging/azservicebus/internal/stress/templates/stress-test-job.yaml @@ -17,7 +17,7 @@ spec: - > set -ex; mkdir -p "$DEBUG_SHARE"; - /app/stress tests "{{ .Stress.testTarget }}" | tee -a "${DEBUG_SHARE}/{{ .Stress.Scenario }}-`date +%s`.log"; + /app/stress tests "{{ .Stress.testTarget }}" 2>&1 | tee -a "${DEBUG_SHARE}/{{ .Stress.Scenario }}-`date +%s`.log"; # Pulls the image on pod start, always. We tend to push to the same image and tag over and over again # when iterating, so this is a must. imagePullPolicy: Always