test: fix hidden error in test-http-server-stale-close.js

PR-URL: https://github.com/nodejs/node/pull/59357
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ryuhei Shima <shimaryuhei@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
This commit is contained in:
Meghan Denny authored and Antoine du Hamel committed 2026-08-27 14:00:34 +02:00
1 parent 273e72d1a5
commit d45c010108
1 file changed
+1 -1
@@ -31,7 +31,7 @@ if (process.env.NODE_TEST_FORK_PORT) {
method: 'POST',
host: '127.0.0.1',
port: +process.env.NODE_TEST_FORK_PORT,
}, process.exit);
}, () => process.exit(0));
req.write('BAM');
req.end();
} else {