From d81148dce32498da3f16f9161cdaeb28dfd1e4af Mon Sep 17 00:00:00 2001 From: scbedd <45376673+scbedd@users.noreply.github.com> Date: Tue, 9 Nov 2021 13:17:20 -0800 Subject: [PATCH] resolve mac agent failure --- eng/common/testproxy/test-proxy-tool.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/eng/common/testproxy/test-proxy-tool.yml b/eng/common/testproxy/test-proxy-tool.yml index 9f24b0f0d5277..fad23feb53b31 100644 --- a/eng/common/testproxy/test-proxy-tool.yml +++ b/eng/common/testproxy/test-proxy-tool.yml @@ -15,17 +15,11 @@ steps: Write-Host "##vso[task.setvariable variable=ASPNETCORE_Kestrel__Certificates__Default__Password]password" displayName: 'Configure Kestrel Environment Variables' - - task: UseDotNet@2 - displayName: "Use .NET Core SDK" - inputs: - packageType: sdk - version: 5.0.205 - - pwsh: | dotnet tool install azure.sdk.tools.testproxy ` --tool-path $(Build.BinariesDirectory)/test-proxy ` --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json ` - --version 1.0.0-dev.20210811.2 + --version 1.0.0-dev.20211104.2 displayName: "Install test-proxy" - pwsh: | @@ -37,11 +31,7 @@ steps: # nohup does NOT continue beyond the current session if you use it within powershell - bash: | - sudo nohup $(Build.BinariesDirectory)/test-proxy/test-proxy & + nohup $(Build.BinariesDirectory)/test-proxy/test-proxy & displayName: "Run the testproxy - linux/mac" condition: and(succeeded(), ne(variables['Agent.OS'],'Windows_NT')) workingDirectory: "${{ parameters.rootFolder }}" - - - pwsh: | - Write-Host "##vso[task.setvariable variable=PATH]$(OriginalPath)" - displayName: 'Restore .NET version by resetting path' \ No newline at end of file