Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 5872199

Browse files
author
Julien Gilli
committed
tests: fix race in test-http-curl-chunk-problem
1 parent 4fc03c6 commit 5872199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/simple/test-http-curl-chunk-problem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ var server = http.createServer(function(req, res) {
7070
});
7171

7272
// End the response on exit (and log errors)
73-
cat.on('exit', function(code) {
73+
cat.on('close', function(code) {
7474
if (code !== 0) {
7575
console.error('subprocess exited with code ' + code);
7676
process.exit(1);

0 commit comments

Comments
 (0)