From 7d3642a12112b427c58b58901f5f5d5c0091d160 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Mon, 3 Jun 2024 14:17:01 -0700 Subject: [PATCH] Use DOTNET_ROLL_FORWARD: 'Major' for test-proxy --- eng/common/testproxy/test-proxy-tool.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/common/testproxy/test-proxy-tool.yml b/eng/common/testproxy/test-proxy-tool.yml index b6cff5591f2f..e326471025ad 100644 --- a/eng/common/testproxy/test-proxy-tool.yml +++ b/eng/common/testproxy/test-proxy-tool.yml @@ -60,6 +60,8 @@ steps: Write-Host "##vso[task.setvariable variable=PROXY_PID]$($Process.Id)" displayName: 'Run the testproxy - windows' condition: and(succeeded(), eq(variables['Agent.OS'],'Windows_NT'), ${{ parameters.condition }}) + env: + DOTNET_ROLL_FORWARD: 'Major' # nohup does NOT continue beyond the current session if you use it within powershell - bash: | @@ -70,6 +72,8 @@ steps: displayName: "Run the testproxy - linux/mac" condition: and(succeeded(), ne(variables['Agent.OS'],'Windows_NT'), ${{ parameters.condition }}) workingDirectory: "${{ parameters.rootFolder }}" + env: + DOTNET_ROLL_FORWARD: 'Major' - pwsh: | for ($i = 0; $i -lt 10; $i++) {