From bc0b6ac9961be3e43056b14625e9053c6f417d10 Mon Sep 17 00:00:00 2001 From: Ilya Date: Wed, 27 Feb 2019 22:24:54 +0500 Subject: [PATCH 1/3] Pending NamedPipeConnectionInfo test --- .../Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 index 75d96ac886d..e4ded79b134 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 @@ -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 From 780a362a593f37ef5cd5ac6b6b9b67b6013ced90 Mon Sep 17 00:00:00 2001 From: Ilya Date: Wed, 27 Feb 2019 23:53:50 +0500 Subject: [PATCH 2/3] Skip other tests --- .../Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 index e4ded79b134..5c3b60f2148 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 @@ -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 From 9f914ec735a53a6216cd28f4fc741995f5411a69 Mon Sep 17 00:00:00 2001 From: Ilya Date: Thu, 28 Feb 2019 00:22:08 +0500 Subject: [PATCH 3/3] Skip other test --- .../Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 index 5c3b60f2148..13413bfb4bf 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Core/Enter-PSHostProcess.Tests.ps1 @@ -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