Skip to content

Fix SSH remoting test to work on all platforms - #11500

Merged
Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:masterfrom
PaulHigin:fix-ssh-tests
Jan 7, 2020
Merged

Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:masterfrom
PaulHigin:fix-ssh-tests

Conversation

@PaulHigin

Copy link
Copy Markdown
Contributor

PR Summary

One SSH remoting test was failing on some platforms because the returned error id string is slightly different.

PR Context

Depending on platform and error path the returned error id string can be '2100,PSSessionOpenFailed' or 'PSSessionOpenFailed'.
Fix is to update test to just look for the expected 'PSSessionOpenFailed'.

PR Checklist

@adityapatwardhan

Copy link
Copy Markdown
Member

PoshChan-Bot (@PoshChan) please rebuild all

@PoshChan

Copy link
Copy Markdown
Collaborator

Aditya Patwardhan (@adityapatwardhan), successfully started rebuild of PowerShell-CI-static-analysis, PowerShell-CI-Windows, PowerShell-CI-macOS, PowerShell-CI-Linux

@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit f22bad1 into PowerShell:master Jan 7, 2020
@PaulHigin
Paul Higinbotham (PaulHigin) deleted the fix-ssh-tests branch January 8, 2020 16:14
@daxian-dbw Dongbo Wang (daxian-dbw) added the CL-Test Indicates that a PR should be marked as a test change in the Change Log label Jan 15, 2020
@ghost

Copy link
Copy Markdown

🎉v7.0.0-rc.2 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-Test Indicates that a PR should be marked as a test change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants