From 39e30232b2990799250fd2e0a0035493625ea728 Mon Sep 17 00:00:00 2001 From: markekraus Date: Tue, 22 Aug 2017 04:20:29 -0500 Subject: [PATCH] [feature] Mark Multiple Response Header Test Pending --- .../Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1 index 1ae16e8a685..4d0ca9c0fa2 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1 @@ -1204,7 +1204,9 @@ Describe "Invoke-WebRequest tests" -Tags "Feature" { $result.Output.RawContent | Should Match ([regex]::Escape('Content-Length: 2')) } - It "Verifies Invoke-WebRequest Supports Multiple response headers with same name" { + # Test pending due to HttpListener limitation on Linux/macOS + # https://github.com/PowerShell/PowerShell/pull/4640 + It "Verifies Invoke-WebRequest Supports Multiple response headers with same name" -Pending { $headers = @{ 'X-Fake-Header' = 'testvalue01','testvalue02' } | ConvertTo-Json -Compress