diff options
author | zaphod1984 <zaphod84@gmx.de> | 2012-02-12 17:09:43 +0100 |
---|---|---|
committer | zaphod1984 <zaphod84@gmx.de> | 2012-02-12 17:09:43 +0100 |
commit | c09be737df455b5d797bf0467e2ffcfa90813a61 (patch) | |
tree | 877ede6bcb97a606a7e67f702f97ae94445bd856 | |
parent | 6bcbcc250fe95366b6347e35f150fb20e1e19aca (diff) | |
download | async-c09be737df455b5d797bf0467e2ffcfa90813a61.tar.gz |
too small timeout provides unrelieable results
-rw-r--r-- | test/test-async.js | 4 |
1 files 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(); |