GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: improve flakiness detection on stack corruption tests · nodejs/node@9ccdf4f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/async-hooks
    • test-emit-after-on-destroyed.js
    • test-improper-unwind.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/async-hooks/test-emit-after-on-destroyed.js‎

Copy file name to clipboardExpand all lines: test/async-hooks/test-emit-after-on-destroyed.js
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,12 @@ if (process.argv[2] === 'child') {
5353
child.stdout.on('data', (d) => { outData = Buffer.concat([ outData, d ]); });
5454

5555
child.on('close', common.mustCall((code, signal) => {
56-
if (signal) {
57-
console.log(`Child closed with signal: ${signal}`);
56+
if ((common.isAIX ||
57+
(common.isLinux && process.arch === 'x64')) &&
58+
signal === 'SIGABRT') {
59+
// XXX: The child process could be aborted due to unknown reasons. Work around it.
5860
} else {
61+
assert.strictEqual(signal, null);
5962
assert.strictEqual(code, 1);
6063
}
6164
assert.match(outData.toString(), heartbeatMsg,
Collapse file

‎test/async-hooks/test-improper-unwind.js‎

Copy file name to clipboardExpand all lines: test/async-hooks/test-improper-unwind.js
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,12 @@ if (process.argv[2] === 'child') {
5656
child.stdout.on('data', (d) => { outData = Buffer.concat([ outData, d ]); });
5757

5858
child.on('close', common.mustCall((code, signal) => {
59-
if (signal) {
60-
console.log(`Child closed with signal: ${signal}`);
59+
if ((common.isAIX ||
60+
(common.isLinux && process.arch === 'x64')) &&
61+
signal === 'SIGABRT') {
62+
// XXX: The child process could be aborted due to unknown reasons. Work around it.
6163
} else {
64+
assert.strictEqual(signal, null);
6265
assert.strictEqual(code, 1);
6366
}
6467
assert.match(outData.toString(), heartbeatMsg,

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.