Skip to content

Commit

Permalink
updated tests again for CI timing failures
Browse files Browse the repository at this point in the history
  • Loading branch information
timgit committed May 12, 2016
1 parent 89a688d commit 5ffc199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/retryTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion test/speedTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5ffc199

Please sign in to comment.