Skip to content

Commit 5077faf

Browse files
jBarzcjihrig
authored andcommitted
test: pause child until parent is ready
Pause child on startup using inspect-brk=0 until the parent debugger is ready. PR-URL: #15774 Fixes: #14897 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent d178c6d commit 5077faf

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

test/sequential/sequential.status

-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ prefix sequential
1010
test-inspector-async-call-stack : PASS, FLAKY
1111
test-inspector-bindings : PASS, FLAKY
1212
test-inspector-debug-end : PASS, FLAKY
13-
test-inspector-stop-profile-after-done: PASS, FLAKY
1413

1514
[$system==linux]
1615

@@ -21,4 +20,3 @@ test-inspector-stop-profile-after-done: PASS, FLAKY
2120
[$system==freebsd]
2221

2322
[$system==aix]
24-
test-inspector-stop-profile-after-done: PASS, FLAKY

test/sequential/test-inspector-stop-profile-after-done.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const assert = require('assert');
55
const { NodeInstance } = require('../common/inspector-helper.js');
66

77
async function runTests() {
8-
const child = new NodeInstance(['--inspect=0'],
8+
const child = new NodeInstance(['--inspect-brk=0'],
99
`let c = 0;
1010
const interval = setInterval(() => {
1111
console.log(new Object());

0 commit comments

Comments
 (0)