-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
test: deflake async-hooks/test-improper-order on AIX #58567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
5aac532
1a80d8a
0d35e9b
0427368
4a23c0f
381034a
e9f8488
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,8 +51,12 @@ | |
| child.stderr.on('data', (d) => { errData = Buffer.concat([ errData, d ]); }); | ||
| child.stdout.on('data', (d) => { outData = Buffer.concat([ outData, d ]); }); | ||
|
|
||
| child.on('close', common.mustCall((code) => { | ||
| assert.strictEqual(code, 1); | ||
| child.on('close', common.mustCall((code, signal) => { | ||
| if (signal) { | ||
| console.log(`Child closed with signal: ${signal}`); | ||
|
||
| } else { | ||
| assert.strictEqual(code, 1); | ||
| } | ||
| assert.match(outData.toString(), heartbeatMsg, | ||
| 'did not crash until we reached offending line of code ' + | ||
| `(found ${outData})`); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.