From 5ffc19984ab43ba48d47e6b26661ebb8c7cc19a4 Mon Sep 17 00:00:00 2001 From: Tim Jones Date: Thu, 12 May 2016 01:42:43 -0500 Subject: [PATCH] updated tests again for CI timing failures --- test/retryTest.js | 4 ++-- test/speedTest.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/retryTest.js b/test/retryTest.js index 6e2a2c2f..6f52dc2f 100644 --- a/test/retryTest.js +++ b/test/retryTest.js @@ -15,10 +15,10 @@ describe('retries', function() { it('should retry a job that didn\'t complete', function (finished) { - this.timeout(7000); + this.timeout(8000); var expireIn = '1 second'; - var retries = 2; + var retries = 1; var subscribeCount = 0; boss.subscribe('unreliable', function(job, done) { diff --git a/test/speedTest.js b/test/speedTest.js index 0857eac4..0696f1a0 100644 --- a/test/speedTest.js +++ b/test/speedTest.js @@ -13,7 +13,7 @@ describe('speed', function() { }); }); - var expectedSeconds = 5; + var expectedSeconds = 2; var jobCount = 1000; it('should be able to complete ' + jobCount + ' jobs in ' + expectedSeconds + ' seconds', function (finished) {