Skip to content

Commit 772206e

Browse files
azure-sdkscbedd
andauthored
Sync eng/common directory with azure-sdk-tools for PR 7193 (Azure#27559)
* update proxy version to 20231030.1 * update test-proxy-tool.yml to record both stderr and stdout to the proxy log --------- Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
1 parent e078711 commit 772206e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0-dev.20230912.4
1+
1.0.0-dev.20231030.1

eng/common/testproxy/test-proxy-tool.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ steps:
2222

2323
- pwsh: |
2424
$version = $(Get-Content "${{ parameters.templateRoot }}/eng/common/testproxy/target_version.txt" -Raw).Trim()
25-
2625
dotnet tool install azure.sdk.tools.testproxy `
2726
--tool-path $(Build.BinariesDirectory)/test-proxy `
2827
--add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json `
@@ -44,14 +43,14 @@ steps:
4443
4544
- pwsh: |
4645
Start-Process $(Build.BinariesDirectory)/test-proxy/test-proxy.exe `
47-
-ArgumentList "--storage-location ${{ parameters.rootFolder }}" `
46+
-ArgumentList "start --storage-location ${{ parameters.rootFolder }} -U" `
4847
-NoNewWindow -PassThru -RedirectStandardOutput ${{ parameters.rootFolder }}/test-proxy.log
4948
displayName: 'Run the testproxy - windows'
5049
condition: and(succeeded(), eq(variables['Agent.OS'],'Windows_NT'), ${{ parameters.condition }})
5150
5251
# nohup does NOT continue beyond the current session if you use it within powershell
5352
- bash: |
54-
nohup $(Build.BinariesDirectory)/test-proxy/test-proxy > ${{ parameters.rootFolder }}/test-proxy.log &
53+
nohup $(Build.BinariesDirectory)/test-proxy/test-proxy &>$(Build.SourcesDirectory)/test-proxy.log &
5554
displayName: "Run the testproxy - linux/mac"
5655
condition: and(succeeded(), ne(variables['Agent.OS'],'Windows_NT'), ${{ parameters.condition }})
5756
workingDirectory: "${{ parameters.rootFolder }}"

0 commit comments

Comments
 (0)