Check state and report reason if it's not "opened"#11574
Check state and report reason if it's not "opened"#11574adityapatwardhan merged 6 commits intoPowerShell:masterfrom
Conversation
|
@TylerLeonhardt, successfully started retry of |
|
@PoshChan please restart macos |
|
@TylerLeonhardt, successfully started retry of |
|
@PoshChan please restart linux |
|
@TylerLeonhardt, successfully started retry of |
|
I'm running CI a few more times to see if I can get it to fail |
| $rs.Dispose() | ||
| $ps.Dispose() | ||
| ${rs}?.Dispose() | ||
| ${ps}?.Dispose() |
There was a problem hiding this comment.
There was a problem hiding this comment.
Don't use experimental feature in tests :(
This will not work in a RC/GA release if this feature is not made permanent. Lets refrain from taking dependencies on experimental features in tests.
There was a problem hiding this comment.
Changed to normal null check.
|
@PoshChan please restart all |
|
@TylerLeonhardt, successfully started retry of |
|
@PoshChan please restart all |
|
@TylerLeonhardt, successfully started retry of |
|
@PoshChan please restart all |
|
@TylerLeonhardt, successfully started retry of |
|
@PoshChan please restart all |
|
@TylerLeonhardt, successfully started retry of |
|
@PoshChan please restart all |
|
@TylerLeonhardt, successfully started retry of |
|
Alright it's not failing. Let's get this in and when it does fail we'll have more knowledge as to why |
| $rs.Dispose() | ||
| $ps.Dispose() | ||
| ${rs}?.Dispose() | ||
| ${ps}?.Dispose() |
There was a problem hiding this comment.
Don't use experimental feature in tests :(
This will not work in a RC/GA release if this feature is not made permanent. Lets refrain from taking dependencies on experimental features in tests.

PR Summary
Occasionally, the
"Can enter using NamedPipeConnectionInfo"test fails. This will allow us to collect more information about the failure.PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.