From 5e066630209f5b975168e29f957349162a27fd98 Mon Sep 17 00:00:00 2001 From: Emma Zhu Date: Sat, 11 May 2024 14:12:11 +0800 Subject: [PATCH] Fix pipeline failures --- eng/pipelines/templates/jobs/live.tests.yml | 37 +++++++++++---------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/eng/pipelines/templates/jobs/live.tests.yml b/eng/pipelines/templates/jobs/live.tests.yml index 0a802301cf54..b05e518623e3 100644 --- a/eng/pipelines/templates/jobs/live.tests.yml +++ b/eng/pipelines/templates/jobs/live.tests.yml @@ -143,24 +143,25 @@ jobs: workingDirectory: $(Build.SourcesDirectory)/eng/tools/eng-package-utils displayName: "Get package path" - - pwsh: | - Start-Process "node" -ArgumentList "launch.js run start-browser-relay" -NoNewWindow -WorkingDirectory "$(Build.SourcesDirectory)/common/tools/dev-tool" - for ($i = 0; $i -lt 10; $i++) { - try { - Invoke-WebRequest -Uri "http://localhost:4895/health" | Out-Null - exit 0 - } catch { - Write-Warning "Failed to successfully connect to browser credential relay. Retrying..." - Start-Sleep 6 - } - } - Write-Error "Could not connect to browser credential relay." - exit 1 - displayName: "Start browser credential relay" - condition: and(succeeded(), eq(variables['TestType'], 'browser')) - env: - TEST_MODE: "live" - ${{ insert }}: ${{ parameters.EnvVars }} +# Failed to start it, and storage/stable branch doesn't require this for browser testing. +# - pwsh: | +# Start-Process "node" -ArgumentList "launch.js run start-browser-relay" -NoNewWindow -WorkingDirectory "$(Build.SourcesDirectory)/common/tools/dev-tool" +# for ($i = 0; $i -lt 10; $i++) { +# try { +# Invoke-WebRequest -Uri "http://localhost:4895/health" | Out-Null +# exit 0 +# } catch { +# Write-Warning "Failed to successfully connect to browser credential relay. Retrying..." +# Start-Sleep 6 +# } +# } +# Write-Error "Could not connect to browser credential relay." +# exit 1 +# displayName: "Start browser credential relay" +# condition: and(succeeded(), eq(variables['TestType'], 'browser')) +# env: +# TEST_MODE: "live" +# ${{ insert }}: ${{ parameters.EnvVars }} - template: ../steps/use-node-test-version.yml