test: fix flaky inspector-cli tests when breakpoints are restored#38431
test: fix flaky inspector-cli tests when breakpoints are restored#38431Trott merged 1 commit intonodejs:masterfrom
Conversation
|
Refs: https://ci.nodejs.org/job/node-test-commit-aix/36437/nodes=aix72-ppc64/console |
| @@ -49,7 +49,7 @@ function launchTarget(...args) { | |||
| // .then(() => cli.waitForPrompt()) | |||
| // | |||
| // What we're diong for now: | |||
There was a problem hiding this comment.
| // What we're diong for now: | |
| // What we're doing for now: |
nit: typo from an earlier change
|
Is there perhaps some deeper underlying issue with the inspector-cli tests? |
Yeah, I think it's all one issue that:
I've been wondering if it makes sense to differentiate stdout and stderr in the debugger. The prompt should go to stdout, I imagine, but the warning messages should go to stderr perhaps. If we then keep them separate in the tests, it should be easy to make them robust. |
|
OK, I've generalized the workaround. PTAL |
PR-URL: nodejs#38431 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
Landed in 18e4f40 |
PR-URL: #38431 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs#38431 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs#38431 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #38431 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
This didn't seem to be included in #38858 but does cherry-pick cleanly across to |
PR-URL: #38431 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs#38431 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Sometimes, there isn't a newine in the AIX output that already has a
comment indicating it needs investigation.