From f0b9df1191c0a0998f350651176663955ba03309 Mon Sep 17 00:00:00 2001 From: "Tong Xu (Wicresoft North America Ltd)" Date: Tue, 9 Nov 2021 11:33:24 +0800 Subject: [PATCH] update --- sdk/eventhub/test-resources.json | 2 +- sdk/eventhub/tests.yml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/sdk/eventhub/test-resources.json b/sdk/eventhub/test-resources.json index d34d15051a81..2cdacdbb1b08 100644 --- a/sdk/eventhub/test-resources.json +++ b/sdk/eventhub/test-resources.json @@ -229,7 +229,7 @@ }, "EVENT_HUB_HOSTNAME": { "type": "string", - "value": "[concat(variables('eventHubsNamespace'), '.servicebus.usgovcloudapi.net')]" + "value": "[concat(variables('eventHubsNamespace'), parameters('serviceBusEndpointSuffix'))]" }, "EVENT_HUB_CONN_STR": { "type": "string", diff --git a/sdk/eventhub/tests.yml b/sdk/eventhub/tests.yml index b6fce9fd2a0e..c65063f6fa07 100644 --- a/sdk/eventhub/tests.yml +++ b/sdk/eventhub/tests.yml @@ -6,6 +6,14 @@ stages: ServiceDirectory: eventhub BuildTargetingString: azure-eventhub* SupportedClouds: 'Public,UsGov,China' + CloudConfig: + Public: + SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) + UsGov: + SubscriptionConfiguration: $(sub-config-gov-test-resources) + China: + SubscriptionConfiguration: $(sub-config-cn-test-resources) + Location: 'chinanorth' MatrixReplace: - TestSamples=.*/true MatrixFilters: