Skip to content

Commit

Permalink
[Event Hubs] Canary support for live tests (Azure#15265)
Browse files Browse the repository at this point in the history
* canary support for live tests

* Add - before if-block

* add ResourceGroupLocationCanary variable for canary location

* netcoreapp instead
  • Loading branch information
HarshaNalluru authored Sep 29, 2020
1 parent c865acf commit c49fc87
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ parameters:
- name: SubscriptionConfiguration
type: string
default: $(sub-config-azure-cloud-test-resources)
- name: TestCanary
type: boolean
default: false
- name: ResourceGroupLocationCanary
type: string
default: "centraluseuap"
- name: ServiceDirectory
type: string
default: not-specified
Expand Down Expand Up @@ -69,6 +75,12 @@ jobs:
- DisplayName: "Test on MacOS"
OSVmImage: "macOS-10.15"
TestTargetFramework: netcoreapp2.1
- ${{ if eq(parameters.TestCanary, 'true') }}:
- DisplayName: "Test on Windows for NetCoreApp - Canary region"
OSVmImage: "windows-2019"
TestTargetFramework: netcoreapp2.1
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview)
Location: ${{ parameters.ResourceGroupLocationCanary }}
- DisplayName: "Record on Windows for NetCoreApp"
OSVmImage: "windows-2019"
TestMode: Record
Expand Down
3 changes: 2 additions & 1 deletion sdk/eventhub/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ extends:
parameters:
MaxParallel: 6
ServiceDirectory: eventhub
TimeoutInMinutes: 120
TimeoutInMinutes: 120
TestCanary: true

0 comments on commit c49fc87

Please sign in to comment.