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:
parent
c0c7f88e65
commit
8ef815dc6a
@ -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 }}
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user