mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
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:
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 {
|
||||
|
||||
Reference in new issue
Block a user