Skip to content

Commit f2b2cea

Browse files
authored
[EventHubs] Fix livetest (Azure#20820)
* fix livetest * rm bicep file * rename stress test file
1 parent 650943c commit f2b2cea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdk/eventhub/azure-eventhub/stress/test-resources.bicep renamed to sdk/eventhub/azure-eventhub/stress/stress-test-resources.bicep

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var defaultSASKeyName = 'RootManageSharedAccessKey'
2222
var eventHubsAuthRuleResourceId = resourceId('Microsoft.EventHub/namespaces/authorizationRules', eventHubsNamespace_var, defaultSASKeyName)
2323
var storageAccountId = storageAccount.id
2424

25-
resource eventHubsNamespace 'Microsoft.EventHub/Namespaces@[variables(\'ehVersion\')]' = {
25+
resource eventHubsNamespace 'Microsoft.EventHub/Namespaces@2017-04-01' = {
2626
name: eventHubsNamespace_var
2727
location: location
2828
sku: {
@@ -32,7 +32,7 @@ resource eventHubsNamespace 'Microsoft.EventHub/Namespaces@[variables(\'ehVersio
3232
properties: {}
3333
}
3434

35-
resource eventHubsNamespace_eventHubName 'Microsoft.EventHub/namespaces/eventhubs@[variables(\'ehVersion\')]' = {
35+
resource eventHubsNamespace_eventHubName 'Microsoft.EventHub/namespaces/eventhubs@2017-04-01' = {
3636
name: '${eventHubsNamespace_var}/${eventHubName}'
3737
location: location
3838
properties: {
@@ -44,10 +44,10 @@ resource eventHubsNamespace_eventHubName 'Microsoft.EventHub/namespaces/eventhub
4444
]
4545
}
4646

47-
resource eventHubsNamespace_eventHubName_eventHubAuthRuleName 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules@[variables(\'ehVersion\')]' = {
47+
resource eventHubsNamespace_eventHubName_eventHubAuthRuleName 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules@2017-04-01' = {
4848
name: '${eventHubsNamespace_var}/${eventHubName}/${eventHubAuthRuleName}'
4949
properties: {
50-
Rights: [
50+
rights: [
5151
'Manage'
5252
'Send'
5353
'Listen'

sdk/eventhub/azure-eventhub/stress/test-resources.json renamed to sdk/eventhub/azure-eventhub/stress/stress-test-resources.json

File renamed without changes.

0 commit comments

Comments
 (0)