Skip to content

Fix deviceguard test failure#4436

Closed
SteveL-MSFT wants to merge 1 commit intoPowerShell:masterfrom
SteveL-MSFT:deviceguard
Closed

Fix deviceguard test failure#4436
SteveL-MSFT wants to merge 1 commit intoPowerShell:masterfrom
SteveL-MSFT:deviceguard

Conversation

@SteveL-MSFT
Copy link
Copy Markdown
Member

investigating deviceguard failure. only failing on AppVeyor.

@daxian-dbw
Copy link
Copy Markdown
Member

The DeviceGuard test is still failing:

[-] Test for DeviceGuard properties 107ms
   Expected {0} to be greater than {0}
   at line: 1392 in C:\projects\powershell\test\powershell\Modules\Microsoft.PowerShell.Management\Get-ComputerInfo.Tests.ps1
   1392:                     $observed.DeviceGuardRequiredSecurityProperties.Count | Should BeGreaterThan 0

Failure is due to WMI class returning a value of 0 which is not defined.
Adding additional value to enum being used to account for this.
@adityapatwardhan
Copy link
Copy Markdown
Member

If this is the only failure blocking daily builds, should we mark this test as pending on Windows, till we figure out the root cause. We have not had a successful daily build in about 19 days.

@SteveL-MSFT
Copy link
Copy Markdown
Member Author

@adityapatwardhan good idea, I'll submit that as a different PR so I can keep investigating this

@iSazonov
Copy link
Copy Markdown
Collaborator

@SteveL-MSFT Maybe close the PR?

@SteveL-MSFT SteveL-MSFT deleted the deviceguard branch October 26, 2018 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants