Without these changes, the pi1-raspbian-wheezy CI node was timing
out on these tests.
PR-URL: https://github.com/nodejs/node/pull/4387
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
timer = setTimeout(function() {
throw new Error('Timeout');
-}, 200);
+}, common.platformTimeout(200));
server.close();
response_validator(server_response, client_got_eof, true);
}
- var timer = setTimeout(cleanup, 1000);
+ var timer = setTimeout(cleanup, common.platformTimeout(1000));
process.on('exit', cleanup);
server.listen(port);