From 5941b894ab06efcbf6f74c1363cf67cf3705a3d2 Mon Sep 17 00:00:00 2001 From: Mark Kraus Date: Tue, 22 Aug 2017 16:27:47 -0500 Subject: [PATCH] Mark Multiple Response Header Test Pending (#4640) --- .../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 1ae16e8a68..4d0ca9c0fa 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