Skip to content

Commit ce54863

Browse files
committed
Update test to use correct region
1 parent 46ff78b commit ce54863

File tree

2 files changed

+1100
-2
lines changed

2 files changed

+1100
-2
lines changed

src/Compute/Compute.Test/ScenarioTests/DiskRPTests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,7 @@ Test SupportedSecurityOption Parameter during creation of managed disk using Cre
19591959
function Test-SupportedSecurityOption
19601960
{
19611961
$rgname = Get-ComputeTestResourceName;
1962-
$loc = Get-ComputeVMLocation;
1962+
$loc = "eastus2euap";
19631963

19641964
try{
19651965
New-AzResourceGroup -Name $rgname -Location $loc -Force;
@@ -1981,7 +1981,7 @@ function Test-SupportedSecurityOption
19811981

19821982
$updateconfig = New-AzDiskUpdateConfig -SupportedSecurityOption "TrustedLaunchAndConfidentialVMSupported";
19831983
$disk = Update-AzDisk -ResourceGroupName $rgname -DiskName $diskname -DiskUpdate $updateconfig;
1984-
Assert-AreEqual $disk.SupportedCapabilities.SupportedSecurityOption; "TrustedLaunchAndConfidentialVMSupported";
1984+
Assert-AreEqual "TrustedLaunchAndConfidentialVMSupported" $disk.SupportedCapabilities.SupportedSecurityOption;
19851985
}
19861986

19871987
finally

0 commit comments

Comments
 (0)