Skip to content

Commit

Permalink
ensure that the test blob's iteration count doesn't break us (#6358)
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd authored Jun 16, 2023
1 parent 6e02d2d commit 3b05520
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eng/pipelines/templates/stages/archetype-sdk-tool-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ parameters:
- name: NoWarn
type: boolean
default: false
- name: TestPreSteps
type: object
default: []
- name: TestPostSteps
type: object
default: []
Expand All @@ -37,6 +40,7 @@ parameters:
type: boolean
default: false


variables:
- template: ../variables/globals.yml
- name: Warn
Expand Down Expand Up @@ -139,6 +143,8 @@ stages:
steps:
- template: /eng/pipelines/templates/steps/install-dotnet.yml

- ${{ parameters.TestPreSteps }}

- script: 'dotnet test /p:ArtifactsPackagesDir=$(Build.ArtifactStagingDirectory) $(Warn) --logger trx'
displayName: 'Test'
workingDirectory: '${{ coalesce(parameters.TestDirectory, parameters.ToolDirectory) }}'
Expand Down
4 changes: 4 additions & 0 deletions tools/test-proxy/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ extends:
- rid: linux-arm64
framework: net6.0
assembly: Azure.Sdk.Tools.TestProxy
TestPreSteps:
- pwsh: |
#vso[task.setvariable variable=COMPlus_Pkcs12UnspecifiedPasswordIterationLimit]-1
displayName: Override Acceptable Password Iteration Count

0 comments on commit 3b05520

Please sign in to comment.