[Pkg-javascript-commits] [node-async] 132/480: too small timeout provides unrelieable results

Jonas Smedegaard js at moszumanska.debian.org
Fri May 2 08:58:19 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-async.

commit c09be737df455b5d797bf0467e2ffcfa90813a61
Author: zaphod1984 <zaphod84 at gmx.de>
Date:   Sun Feb 12 17:09:43 2012 +0100

    too small timeout provides unrelieable results
---
 test/test-async.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test-async.js b/test/test-async.js
index 545a005..887e17c 100644
--- a/test/test-async.js
+++ b/test/test-async.js
@@ -559,7 +559,7 @@ exports['forEachLimit limit exceeds size'] = function(test){
         setTimeout(function(){
             args.push(x);
             callback();
-        }, x*5);
+        }, x*25);
     }, function(err){
         test.same(args, arr);
         test.done();
@@ -573,7 +573,7 @@ exports['forEachLimit limit equal size'] = function(test){
         setTimeout(function(){
             args.push(x);
             callback();
-        }, x*5);
+        }, x*25);
     }, function(err){
         test.same(args, arr);
         test.done();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git



More information about the Pkg-javascript-commits mailing list