mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
test: pause child until parent is ready
Pause child on startup using inspect-brk=0 until the parent debugger is ready. PR-URL: https://github.com/nodejs/node/pull/15774 Fixes: https://github.com/nodejs/node/issues/14897 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
1 parent
d178c6dc91
commit
5077faffaa
2 files changed
+1
-3
No files matched your search
@@ -10,7 +10,6 @@ prefix sequential
|
||||
test-inspector-async-call-stack : PASS, FLAKY
|
||||
test-inspector-bindings : PASS, FLAKY
|
||||
test-inspector-debug-end : PASS, FLAKY
|
||||
test-inspector-stop-profile-after-done: PASS, FLAKY
|
||||
|
||||
[$system==linux]
|
||||
|
||||
@@ -21,4 +20,3 @@ test-inspector-stop-profile-after-done: PASS, FLAKY
|
||||
[$system==freebsd]
|
||||
|
||||
[$system==aix]
|
||||
test-inspector-stop-profile-after-done: PASS, FLAKY
|
||||
@@ -5,7 +5,7 @@ const assert = require('assert');
|
||||
const { NodeInstance } = require('../common/inspector-helper.js');
|
||||
|
||||
async function runTests() {
|
||||
const child = new NodeInstance(['--inspect=0'],
|
||||
const child = new NodeInstance(['--inspect-brk=0'],
|
||||
`let c = 0;
|
||||
const interval = setInterval(() => {
|
||||
console.log(new Object());
|
||||
|
||||
Reference in new issue
Block a user