Skip to content

Commit 2c5bb93

Browse files
authored
Remove most visited regions from live tests for MHSM (#25366)
1 parent 231a2c5 commit 2c5bb93

File tree

1 file changed

+3
-3
lines changed
  • src/KeyVault/KeyVault.Test/LiveTests/ManagedHsmDataPlaneLiveTests

1 file changed

+3
-3
lines changed

src/KeyVault/KeyVault.Test/LiveTests/ManagedHsmDataPlaneLiveTests/TestSetting.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
function Get-RotatedLocation
22
{
3-
$regions = @("eastus", "westus", "japaneast", "japanwest", "eastasia", "southeastasia", "brazilsouth", "eastus2")
3+
$regions = @("southindia", "westindia", "japaneast", "japanwest", "eastasia", "southeastasia", "brazilsouth", "koreasouth")
44
$index = (Get-Date).Day % 8
55
return $regions[$index]
66
}
77

8-
Invoke-LiveTestScenario -Name "Get and update key vault setting in a MSHM" -Description "Get and update a key vault setting in a MSHM" -Platform Linux -PowerShellVersion Latest -ScenarioScript `
8+
Invoke-LiveTestScenario -Name "Get and update key vault setting in a MHSM" -Description "Get and update a key vault setting in a MHSM" -Platform Linux -PowerShellVersion Latest -ScenarioScript `
99
{
1010
param ($rg)
1111

@@ -23,4 +23,4 @@ Invoke-LiveTestScenario -Name "Get and update key vault setting in a MSHM" -Desc
2323
# Clean up
2424
Get-AzKeyVaultManagedHsm -HsmName $hsmName -ResourceGroupName $rgName | Remove-AzKeyVaultManagedHsm -Force
2525
Get-AzKeyVaultManagedHsm -HsmName $hsmName -Location $hsmLocation -InRemovedState | Remove-AzKeyVaultManagedHsm -InRemovedState -Force
26-
}
26+
}

0 commit comments

Comments
 (0)