From d77f490a048c26b35ff46b7f75fa18493b687d04 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Sat, 29 Nov 2014 13:36:14 +1100 Subject: [PATCH] test: extend timeouts in child/exec tests increased resillence on slower computers Reviewed-By: Fedor Indutny Reviewed-By: Ben Noordhuis PR-URL: https://github.com/iojs/io.js/pull/10 --- test/simple/test-child-process-execsync.js | 2 +- test/simple/test-cluster-worker-init.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/simple/test-child-process-execsync.js b/test/simple/test-child-process-execsync.js index 28fa0200f22..e97de721f6d 100644 --- a/test/simple/test-child-process-execsync.js +++ b/test/simple/test-child-process-execsync.js @@ -28,7 +28,7 @@ var execSync = require('child_process').execSync; var execFileSync = require('child_process').execFileSync; var TIMER = 200; -var SLEEP = 1000; +var SLEEP = 2000; var start = Date.now(); var err; diff --git a/test/simple/test-cluster-worker-init.js b/test/simple/test-cluster-worker-init.js index feba5590d89..f750262e879 100644 --- a/test/simple/test-cluster-worker-init.js +++ b/test/simple/test-cluster-worker-init.js @@ -33,7 +33,7 @@ if (cluster.isMaster) { var worker = cluster.fork(); var timer = setTimeout(function() { assert(false, 'message not received'); - }, 1000); + }, 5000); timer.unref();