You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
##[error] [-] Should return an empty array 51ms (45ms|6ms)
##[error] Expected the value to have type [uint[]] or any of its subtypes, but got $null with type $null.
##[error] at Should -ActualValue $result.TraceFlag -BeOfType 'System.UInt32[]', D:\a\1\s\tests\Unit\Public\Get-SqlDscStartupParameter.Tests.ps1:178
##[error] at Invoke-Assertion, D:\a\1\s\output\RequiredModules\Pester\5.5.0\Pester.psm1:8120
##[error] at Should, D:\a\1\s\output\RequiredModules\Pester\5.5.0\Pester.psm1:8055
##[error] at , D:\a\1\s\tests\Unit\Public\Get-SqlDscStartupParameter.Tests.ps1:178
Checklist
What is the issue?
##[error] [-] Should return an empty array 51ms (45ms|6ms)
##[error] Expected the value to have type [uint[]] or any of its subtypes, but got $null with type $null.
##[error] at Should -ActualValue $result.TraceFlag -BeOfType 'System.UInt32[]', D:\a\1\s\tests\Unit\Public\Get-SqlDscStartupParameter.Tests.ps1:178
##[error] at Invoke-Assertion, D:\a\1\s\output\RequiredModules\Pester\5.5.0\Pester.psm1:8120
##[error] at Should, D:\a\1\s\output\RequiredModules\Pester\5.5.0\Pester.psm1:8055
##[error] at , D:\a\1\s\tests\Unit\Public\Get-SqlDscStartupParameter.Tests.ps1:178
https://dev.azure.com/dsccommunity/SqlServerDsc/_build/results?buildId=8038&view=logs&j=8af7cf9c-43a1-584d-6f5c-57bad8880974&t=a93ba588-7f3e-5259-6924-3f054a327451&l=6932
Seems to be for this test code:
https://github.com/dsccommunity/SqlServerDsc/blob/527dcd4e444bd5e799bb6cd415a08d420246d99a/tests/Unit/Public/Get-SqlDscStartupParameter.Tests.ps1#L173-L189
It is either an issue in a recent change in Pester, or something has been changed to the better in Pester so the test code need to be modified.
I wont be able to work on OSS so much for a while (due to health reasons) so won't be able to dig into this further. Hoping someone else can look into this ❤️
Expected Behavior
It does not fail.
Steps To Reproduce
No response
Describe your environment
Pester 5.5.0-rc1
Possible Solution?
No response
The text was updated successfully, but these errors were encountered: