Skip to content

Commit a64ea95

Browse files
committed
Remove test debugging
1 parent ce54863 commit a64ea95

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1963,19 +1963,12 @@ function Test-SupportedSecurityOption
19631963

19641964
try{
19651965
New-AzResourceGroup -Name $rgname -Location $loc -Force;
1966-
# Get the current Azure context (subscription, tenant, account)
1967-
$context = Get-AzContext
1968-
Write-Debug "Current Subscription: $($context.Subscription.Name) ($($context.Subscription.Id))"
1969-
Write-Debug "Current Tenant: $($context.Tenant.Id)"
1970-
Write-Debug "Current Account: $($context.Account.Id)"
1971-
Write-Debug "Current region: $loc"
19721966

19731967
$diskConfig = New-AzDiskConfig -Location $loc -SkuName 'PremiumV2_LRS' -DiskSizeGB 2 -CreateOption Empty -SupportedSecurityOption 'TrustedLaunchSupported';
19741968
$diskname = "disk" + $rgname;
19751969
New-AzDisk -ResourceGroupName $rgname -DiskName $diskname -Disk $diskConfig;
19761970
$disk = Get-AzDisk -ResourceGroupName $rgname -DiskName $diskname;
19771971

1978-
# Check the SupportedCapabilities object
19791972
Assert-NotNull $disk.SupportedCapabilities;
19801973
Assert-AreEqual "TrustedLaunchSupported" $disk.SupportedCapabilities.SupportedSecurityOption;
19811974

0 commit comments

Comments
 (0)