From 8b45e02e61a8ccab917d1f4030d12ceafc23a50c Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Sat, 29 Nov 2014 13:36:14 +1100 Subject: [PATCH] test: extend timeout for failure on cluster worker init test --- 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 28fa0200f2299f..e97de721f6d9b0 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 feba5590d89c03..f750262e879efa 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();