Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tools/pipelines/templates/include-test-real-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ parameters:

stages:
- stage: ${{ parameters.stageId}}
${{ if in(parameters.stageId, 'e2e_routerlicious', 'e2e_frs', 'stress_tests_odsp', 'stress_tests_odspdf', 'stress_tests_frs', 'stress_tests_frs_canary') }}:
${{ if in(parameters.stageId, 'e2e_routerlicious', 'e2e_frs', 'stress_tests_odspdf', 'stress_tests_frs', 'stress_tests_frs_canary') }}:
lockBehavior: sequential
condition: ${{ parameters.condition }}
displayName: ${{ parameters.stageDisplayName }}
Expand Down Expand Up @@ -347,7 +347,7 @@ stages:
path: ${{ parameters.testWorkspace }}/node_modules/@fluid-private/test-version-utils/node_modules/.legacy/

# Only check out tenants from the tenant pool if we are running tests against ODSP
- ${{ if eq(parameters.stageId, 'e2e_odsp') }}:
- ${{ if or(eq(parameters.stageId, 'e2e_odsp'), eq(parameters.stageId, 'stress_tests_odsp')) }}:
# Retrieve a tenant from the tenant pool
- task: AzureCLI@2
displayName: 'Log in to retrieve tenant credentials'
Expand Down Expand Up @@ -381,9 +381,9 @@ stages:
displayName: '[test] ${{ parameters.testCommand }} ${{ variant.flags }}'
continueOnError: ${{ parameters.continueOnError }}
env:
${{ if ne(parameters.stageId, 'e2e_odsp') }}:
${{ if and(ne(parameters.stageId, 'e2e_odsp'), ne(parameters.stageId, 'stress_tests_odsp')) }}:
${{ parameters.env }}
${{ if eq(parameters.stageId, 'e2e_odsp') }}:
${{ else }}:
login__odsp__test__tenants: $(tenantCreds)
login__microsoft__clientId: $(appClientId)
inputs:
Expand Down Expand Up @@ -437,7 +437,7 @@ stages:
continueOnError: true # Keep running subsequent tasks even if this one fails (e.g. the tinylicious log wasn't there)

# Only release tenants that were checked out from the tenant pool for ODSP tests
- ${{ if eq(parameters.stageId, 'e2e_odsp') }}:
- ${{ if or(eq(parameters.stageId, 'e2e_odsp'), eq(parameters.stageId, 'stress_tests_odsp')) }}:
# Login to release tenant credentials
# Currently, some of the compat tests run for longer than 60 minutes and exceed the average token lifetime:
# https://learn.microsoft.com/en-us/entra/identity-platform/configurable-token-lifetimes#access-tokens
Expand Down
2 changes: 0 additions & 2 deletions tools/pipelines/test-real-service-stress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ stages:
testCommand: start:odsp
skipTestResultPublishing: true
pipelineIdentifierForTelemetry: ${{ variables.pipelineIdentifierForTelemetry }}
stageVariables:
- group: stress-odsp-lock
env:
login__microsoft__clientId: $(login-microsoft-clientId)
login__odsp__test__tenants: $(automation-stress-login-odsp-test-tenants)
Expand Down