Pending NamedPipeConnectionInfo test (#9003)

Related #8971. Pending the test until we fix a root case of failure.
This commit is contained in:
Ilya
2019-03-13 12:55:43 -07:00
committed by Travis Plunk
parent 477ad564b6
commit 6912a91d0f
@@ -32,7 +32,7 @@ Describe "Enter-PSHostProcess tests" -Tag Feature {
}
}
It "Can enter and exit another PSHost" {
It "Can enter and exit another PSHost" -Pending:$true {
Wait-UntilTrue { (Get-PSHostProcessInfo -Id $pwsh.Id) -ne $null }
"Enter-PSHostProcess -Id $($pwsh.Id) -ErrorAction Stop
@@ -48,7 +48,7 @@ Describe "Enter-PSHostProcess tests" -Tag Feature {
Exit-PSHostProcess" | pwsh -c - | Should -Be $powershell.Id
}
It "Can enter using NamedPipeConnectionInfo" {
It "Can enter using NamedPipeConnectionInfo" -Pending:$true {
try {
$npInfo = [System.Management.Automation.Runspaces.NamedPipeConnectionInfo]::new($pwsh.Id)
$rs = [runspacefactory]::CreateRunspace($npInfo)
@@ -92,7 +92,7 @@ Describe "Enter-PSHostProcess tests" -Tag Feature {
$pwsh | Stop-Process
}
It "Can enter using CustomPipeName" {
It "Can enter using CustomPipeName" -Pending:$true {
Wait-UntilTrue { Test-Path $pipePath }
"Enter-PSHostProcess -CustomPipeName $pipeName -ErrorAction Stop
@@ -100,7 +100,7 @@ Describe "Enter-PSHostProcess tests" -Tag Feature {
Exit-PSHostProcess" | pwsh -c - | Should -Be $pwsh.Id
}
It "Can enter, exit, and re-enter using CustomPipeName" {
It "Can enter, exit, and re-enter using CustomPipeName" -Pending:$true {
Wait-UntilTrue { Test-Path $pipePath }
"Enter-PSHostProcess -CustomPipeName $pipeName -ErrorAction Stop