Repository navigation
Fix [feature] tests failing on nightly run - #6723
Merged
Dongbo Wang (daxian-dbw) merged 2 commits intoApr 24, 2018
Merged
Conversation
Dan Travison (dantraMSFT)
approved these changes
Apr 24, 2018
Steve Lee (SteveL-MSFT)
force-pushed
the
consolehost-test
branch
from
April 24, 2018 20:29
2886054 to
f86a395
Compare
Member
|
Steve Lee (@SteveL-MSFT) Travis CI failed due to SSH Remoting test failure. Could you please take a look? Thanks! |
James Truher (JamesWTruher)
approved these changes
Apr 24, 2018
This was referenced Apr 24, 2018
Travis Plunk (TravisEz13)
approved these changes
Apr 24, 2018
Member
|
other errors need to be fixed |
Steve Lee (SteveL-MSFT)
requested review from
Paul Higinbotham (PaulHigin) and
Mike Richmond (mirichmo)
as code owners
April 24, 2018 22:26
Dongbo Wang (daxian-dbw)
approved these changes
Apr 24, 2018
Thatgfsj (Thatgfsj)
pushed a commit
to Thatgfsj-contribs/PowerShell
that referenced
this pull request
Aug 6, 2026
- For ConsoleHosts tests, the test is validating error condition, but did not redirect stderr to stdout so the output isn't captured and thus an empty string failing the assertion. - For SSHConnectionInfo API tests, it's calling a constructor that got overwritten with a new parameter. Fix is to put back that public API and overload it with a new one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
For ConsoleHosts tests, the test is validating error condition, but did not redirect stderr to stdout so the output isn't captured and thus an empty string failing the assertion.
For SSHConnectionInfo API tests, it's calling a constructor that got overwritten with a new parameter. Fix is to put back that public api and overload it with a new one.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests