Skip to content

Commit b6ae7e7

Browse files
committed
fix AzureRT tests in dogfood
1 parent d975d79 commit b6ae7e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,6 +1599,7 @@ public string GetAzureVMImageName(string[] keywords, bool exactMatch = true, int
15991599
if ((Utilities.MatchKeywords(image.ImageName, keywords, exactMatch) >= 0
16001600
|| Utilities.MatchKeywords(image.OS, keywords, exactMatch) >= 0)
16011601
&& ((diskSize == null) || (image.LogicalSizeInGB <= diskSize))
1602+
&& (image.IsPremium == null || ! image.IsPremium.Value)
16021603
&& Utilities.MatchKeywords(image.Location, new [] {CredentialHelper.Location}, exactMatch) >= 0
16031604
&& Utilities.MatchKeywords(image.ImageFamily, new [] {"Server"}, exactMatch) >= 0)
16041605
return image.ImageName;

0 commit comments

Comments
 (0)