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

Commit

Permalink
tests: fix race in test-http-curl-chunk-problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Gilli committed Feb 27, 2015
1 parent 4fc03c6 commit 5872199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/simple/test-http-curl-chunk-problem.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var server = http.createServer(function(req, res) {
});

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

0 comments on commit 5872199

Please sign in to comment.