Enable two previously disabled Get-Process tests (#15845)

This commit is contained in:
Ilya
2021-08-26 21:53:27 -07:00
committed by GitHub
parent fde119e28b
commit 102ccffd14
@@ -70,8 +70,7 @@ Describe "Get-Process" -Tags "CI" {
{ (Get-Process -Id $idleProcessPid).Name } | Should -Not -Throw
}
It "Test for process property = Name" -Pending {
# Bug in .Net 5.0 Preview4. See https://github.com/PowerShell/PowerShell/pull/12894
It "Test for process property = Name" {
(Get-Process -Id $PID).Name | Should -BeExactly "pwsh"
}
@@ -129,8 +128,7 @@ Describe "Get-Process Formatting" -Tags "Feature" {
}
Describe "Process Parent property" -Tags "CI" {
It "Has Parent process property" -Pending {
# Bug in .Net 5.0 Preview4. See https://github.com/PowerShell/PowerShell/pull/12894
It "Has Parent process property" {
$powershellexe = (Get-Process -Id $PID).mainmodule.filename
& $powershellexe -noprofile -command '(Get-Process -Id $PID).Parent' | Should -Not -BeNullOrEmpty
}