diff --git a/eng/pipelines/libraries/run-test-job.yml b/eng/pipelines/libraries/run-test-job.yml index c2335785401c1..9e073dd6e74cd 100644 --- a/eng/pipelines/libraries/run-test-job.yml +++ b/eng/pipelines/libraries/run-test-job.yml @@ -43,7 +43,6 @@ jobs: timeoutInMinutes: ${{ parameters.timeoutInMinutes }} container: '' # we just send to helix, no need to use a container. condition: ${{ parameters.condition }} - pool: ${{ parameters.pool }} testScope: ${{ parameters.testScope }} runTests: true ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}: @@ -55,6 +54,14 @@ jobs: ${{ if eq(parameters.interpreter, 'true') }}: testDisplayName: ${{ parameters.runtimeFlavor }}_interpreter_${{ parameters.liveRuntimeBuildConfig }} + # To run the tests we just send to helix and wait, use ubuntu hosted pools for faster providing and to not back up our build pools + ${{ if startsWith(parameters.pool.queue, 'BuildPool.Ubuntu') }}: + pool: + vmImage: 'ubuntu-latest' + + ${{ if not(startsWith(parameters.pool.queue, 'BuildPool.Ubuntu')) }}: + pool: ${{ parameters.pool }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} dependsOn: - ${{ if ne(parameters.dependsOn[0], '') }}: