We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8344a52 commit fb0c5bcCopy full SHA for fb0c5bc
test/parallel/test-http-set-timeout.js
@@ -20,7 +20,7 @@ server.listen(common.PORT, function() {
20
21
var errorTimer = setTimeout(function() {
22
throw new Error('Timeout was not successful');
23
- }, 2000);
+ }, common.platformTimeout(2000));
24
25
var x = http.get({port: common.PORT, path: '/'});
26
x.on('error', function() {
0 commit comments