Skip to content

Commit e59f033

Browse files
committed
Minor fixes
1 parent 6b95db1 commit e59f033

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

CanaryValidator/Canary.Tests.ps1

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,20 +156,13 @@ while ($runCount -le $NumberOfIterations)
156156
}
157157
}
158158

159-
Invoke-Usecase -Name 'ExecuteFabricAdminScenarios' -Description "Queries for all the fabric resources as a service admin" -UsecaseBlock `
160-
{
161-
Invoke-Usecase -Name 'ListScaleUnitsInRegion' -Description "Queries for all the azure stack scale units in a given region" -UsecaseBlock `
162-
{
163-
164-
}
165-
}
166159
if ($WindowsISOPath)
167160
{
168161
Invoke-Usecase -Name 'UploadWindows2016ImageToPIR' -Description "Uploads a windows server 2016 image to the PIR" -UsecaseBlock `
169162
{
170163
if (-not (Get-AzureRmVMImage -Location $ResourceLocation -PublisherName "MicrosoftWindowsServer" -Offer "WindowsServer" -Sku "2016-Datacenter-Core" -ErrorAction SilentlyContinue))
171164
{
172-
New-Server2016VMImage -ISOPath $WindowsISOPath -TenantId $AADTenantID -ArmEndpoint $AdminArmEndpoint -Version Core -AzureStackCredentials $ServiceAdminCredentials
165+
New-Server2016VMImage -ISOPath $WindowsISOPath -TenantId $AADTenantID -ArmEndpoint $AdminArmEndpoint -Version Core -AzureStackCredentials $ServiceAdminCredentials -CreateGalleryItem $false
173166
}
174167
}
175168
}

0 commit comments

Comments
 (0)