Skip to content

Commit

Permalink
even higher timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
lipp committed Jul 22, 2016
1 parent e0b8649 commit c953232
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/doc-worker_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var loadGitHubEvent = function (eventDir) {
var tmpPath = path.join(__dirname, 'git-temp')

describe('The doc-worker module', function () {
this.timeout(120000)
this.timeout(150000)
this.slow(8000)
var inbox
var failed
Expand All @@ -34,9 +34,9 @@ describe('The doc-worker module', function () {
getRepoEvents.yields(null, [])
inbox = new Bull('inbox', env.redis.port, env.redis.host)
failed = new Bull('failed', env.redis.port, env.redis.host)
inbox.clean(200).then(function () {
inbox.clean(1000).then(function () {
console.log('inbox queue clean')
failed.clean(200).then(function () {
failed.clean(1000).then(function () {
console.log('failed queue clean')
docWorker.init(tmpPath, done)
})
Expand Down

0 comments on commit c953232

Please sign in to comment.