Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tests related to -SslProtocol in web cmdlets are failing on macOS daily runs #5590

Copy link
Copy link
@daxian-dbw

Description

@daxian-dbw
Issue body actions

Same failures from 2 macOS daily builds. And we got the similar failures for Invoke-RestMethod -SslProtocol.

    [-] Verifies Invoke-WebRequest -SslProtocol Tls11 works on Tls11 145ms
      SSL connect error
      at line: 1527 in /Users/travis/build/PowerShell/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1
    [-] Verifies Invoke-WebRequest -SslProtocol Tls12 works on Tls12 125ms
      SSL connect error
      at line: 1527 in /Users/travis/build/PowerShell/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1
+++
    [-] Verifies Invoke-WebRequest -SslProtocol -SslProtocol Tls11 fails on a Tls only connection 213ms
      Expected string length 83 but was 13. Strings differ at index 0.
      Expected: {WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand}
      But was:  {No Exception!}
      -----------^
      at line: 75 in /Users/travis/build/PowerShell/PowerShell/test/tools/Modules/HelpersCommon/HelpersCommon.psm1
      75:             $_.FullyQualifiedErrorId | Should Be $FullyQualifiedErrorId | Out-Null
    [-] Verifies Invoke-WebRequest -SslProtocol -SslProtocol Tls12 fails on a Tls only connection 181ms
      Expected string length 83 but was 13. Strings differ at index 0.
      Expected: {WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand}
      But was:  {No Exception!}
      -----------^
      at line: 75 in /Users/travis/build/PowerShell/PowerShell/test/tools/Modules/HelpersCommon/HelpersCommon.psm1
      75:             $_.FullyQualifiedErrorId | Should Be $FullyQualifiedErrorId | Out-Null
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    WG-Quality-Testissues in a test or in test infrastructureissues in a test or in test infrastructure

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.