Install test proxy and enable all tests (#5365)

* mroe quotes

* dssf

* compact the tests in the proper folder

* 2 more tests

* eqwq

* enabled all except http

* endline

* fhg

* oops

* new teests

* update

* update defaults

* hdg
This commit is contained in:
George Arama 2024-02-21 10:58:35 -08:00 committed by GitHub
parent c0c7f88e65
commit 8ef815dc6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 1 deletions

View File

@ -44,6 +44,12 @@ extends:
targetType: 'inline'
script: sudo apt install valgrind -y
displayName: Install valgrind
- template: /eng/common/testproxy/test-proxy-tool.yml
parameters:
runProxy: true
rootFolder: '$(Build.SourcesDirectory)/sdk/${{parameters.ServiceDirectory}}'
templateFolder: '$(Build.SourcesDirectory)/sdk/${{parameters.ServiceDirectory}}'
ServiceDirectory: ${{ parameters.ServiceDirectory }}
PackageVersions: ${{ parameters.PackageVersions }}
Tests: ${{ parameters.Tests }}

View File

@ -21,6 +21,12 @@ Tests:
Class: extendedOptions
Arguments:
- --e 1
- Test: httpTransport
Class: httpTransport
Arguments:
- --test-proxies http://127.0.0.1:5000 --method GET --transport curl
- --test-proxies http://127.0.0.1:5000 --method POST --transport curl
- Test: json
Class: json
@ -38,6 +44,11 @@ Tests:
Arguments:
- --e 1
- Test: pipelineBase
Class: pipelineBase
Arguments:
- --test-proxies http://127.0.0.1:5000 --count 100 --policies LogPolicy,TestPolicy
- Test: uuid
Class: uuid
Arguments:

View File

@ -6,7 +6,7 @@ parameters:
- name: Tests
displayName: Tests (regex of tests to run)
type: string
default: '^(delay|exception|extendedOptions|json|noop|nullable|uuid)$'
default: '.*'
- name: Arguments
displayName: Arguments (regex of arguments to run)
type: string