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: reduce iteration count in test-child-process-stdout-flush-exit · nodejs/node@685d137

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-child-process-stdout-flush-exit.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-child-process-stdout-flush-exit.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-child-process-stdout-flush-exit.js
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,14 @@ const assert = require('assert');
2525

2626
// If child process output to console and exit
2727
// The console.log statements here are part of the test.
28+
// Note: This test verifies specific behavior that is *not* guaranteed
29+
// by Node.js's API contract. See https://nodejs.org/api/process.html#processexitcode.
30+
// We are still generally interested in knowing when this test breaks,
31+
// since applications may rely on the implicit behavior of stdout having
32+
// a buffer size up to which they can write data synchronously.
2833
if (process.argv[2] === 'child') {
2934
console.log('hello');
30-
for (let i = 0; i < 200; i++) {
35+
for (let i = 0; i < 100; i++) {
3136
console.log('filler');
3237
}
3338
console.log('goodbye');

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.