Skip to content

Commit 9099cb5

Browse files
azure-sdkscbedd
andauthored
resolve mac agent failure (Azure#25230)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
1 parent b1f69bb commit 9099cb5

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

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

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,11 @@ steps:
1515
Write-Host "##vso[task.setvariable variable=ASPNETCORE_Kestrel__Certificates__Default__Password]password"
1616
displayName: 'Configure Kestrel Environment Variables'
1717
18-
- task: UseDotNet@2
19-
displayName: "Use .NET Core SDK"
20-
inputs:
21-
packageType: sdk
22-
version: 5.0.205
23-
2418
- pwsh: |
2519
dotnet tool install azure.sdk.tools.testproxy `
2620
--tool-path $(Build.BinariesDirectory)/test-proxy `
2721
--add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json `
28-
--version 1.0.0-dev.20210811.2
22+
--version 1.0.0-dev.20211104.2
2923
displayName: "Install test-proxy"
3024
3125
- pwsh: |
@@ -37,11 +31,7 @@ steps:
3731
3832
# nohup does NOT continue beyond the current session if you use it within powershell
3933
- bash: |
40-
sudo nohup $(Build.BinariesDirectory)/test-proxy/test-proxy &
34+
nohup $(Build.BinariesDirectory)/test-proxy/test-proxy &
4135
displayName: "Run the testproxy - linux/mac"
4236
condition: and(succeeded(), ne(variables['Agent.OS'],'Windows_NT'))
4337
workingDirectory: "${{ parameters.rootFolder }}"
44-
45-
- pwsh: |
46-
Write-Host "##vso[task.setvariable variable=PATH]$(OriginalPath)"
47-
displayName: 'Restore .NET version by resetting path'

0 commit comments

Comments
 (0)