From 438d61fb70b01c41898be112ec1f603aa5595f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Wed, 20 Jul 2016 19:50:28 +0200 Subject: [PATCH] Set timeout to 30s --- test/acceptance/job.use-case-1.test.js | 1 + test/acceptance/job.use-case-10.test.js | 1 + test/acceptance/job.use-case-2.test.js | 1 + test/acceptance/job.use-case-3.test.js | 1 + test/acceptance/job.use-case-4.test.js | 1 + test/acceptance/job.use-case-5.test.js | 2 ++ test/acceptance/job.use-case-6.test.js | 1 + test/acceptance/job.use-case-7.test.js | 1 + test/acceptance/job.use-case-8.test.js | 1 + test/acceptance/job.use-case-9.test.js | 1 + 10 files changed, 11 insertions(+) diff --git a/test/acceptance/job.use-case-1.test.js b/test/acceptance/job.use-case-1.test.js index e8960679..7fe1d58f 100644 --- a/test/acceptance/job.use-case-1.test.js +++ b/test/acceptance/job.use-case-1.test.js @@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig); var batchFactory = require('../../batch'); describe('Use case 1: cancel and modify a done job', function () { + this.timeout(30000); var batch = batchFactory(metadataBackend, redisConfig); diff --git a/test/acceptance/job.use-case-10.test.js b/test/acceptance/job.use-case-10.test.js index f4d1a5ab..9ed4ec15 100644 --- a/test/acceptance/job.use-case-10.test.js +++ b/test/acceptance/job.use-case-10.test.js @@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig); var batchFactory = require('../../batch'); describe('Use case 10: cancel and modify a done multiquery job', function () { + this.timeout(30000); var batch = batchFactory(metadataBackend, redisConfig); diff --git a/test/acceptance/job.use-case-2.test.js b/test/acceptance/job.use-case-2.test.js index 016f064d..f397d445 100644 --- a/test/acceptance/job.use-case-2.test.js +++ b/test/acceptance/job.use-case-2.test.js @@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig); var batchFactory = require('../../batch'); describe('Use case 2: cancel a running job', function() { + this.timeout(30000); var batch = batchFactory(metadataBackend, redisConfig); diff --git a/test/acceptance/job.use-case-3.test.js b/test/acceptance/job.use-case-3.test.js index 3cbd372d..bad66fe1 100644 --- a/test/acceptance/job.use-case-3.test.js +++ b/test/acceptance/job.use-case-3.test.js @@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig); var batchFactory = require('../../batch'); describe('Use case 3: cancel a pending job', function() { + this.timeout(30000); var batch = batchFactory(metadataBackend, redisConfig); diff --git a/test/acceptance/job.use-case-4.test.js b/test/acceptance/job.use-case-4.test.js index 4adb0ff3..3d61fda0 100644 --- a/test/acceptance/job.use-case-4.test.js +++ b/test/acceptance/job.use-case-4.test.js @@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig); var batchFactory = require('../../batch'); describe('Use case 4: modify a pending job', function() { + this.timeout(30000); var batch = batchFactory(metadataBackend, redisConfig); diff --git a/test/acceptance/job.use-case-5.test.js b/test/acceptance/job.use-case-5.test.js index dbddd688..6a073687 100644 --- a/test/acceptance/job.use-case-5.test.js +++ b/test/acceptance/job.use-case-5.test.js @@ -28,6 +28,8 @@ var metadataBackend = require('cartodb-redis')(redisConfig); var batchFactory = require('../../batch'); describe('Use case 5: modify a running job', function() { + this.timeout(30000); + var batch = batchFactory(metadataBackend, redisConfig); before(function () { diff --git a/test/acceptance/job.use-case-6.test.js b/test/acceptance/job.use-case-6.test.js index 18a99d4f..0294198f 100644 --- a/test/acceptance/job.use-case-6.test.js +++ b/test/acceptance/job.use-case-6.test.js @@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig); var batchFactory = require('../../batch'); describe('Use case 6: modify a done job', function() { + this.timeout(30000); var batch = batchFactory(metadataBackend, redisConfig); diff --git a/test/acceptance/job.use-case-7.test.js b/test/acceptance/job.use-case-7.test.js index 84896c3d..c1821fec 100644 --- a/test/acceptance/job.use-case-7.test.js +++ b/test/acceptance/job.use-case-7.test.js @@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig); var batchFactory = require('../../batch'); describe('Use case 7: cancel a job with quotes', function() { + this.timeout(30000); var batch = batchFactory(metadataBackend, redisConfig); diff --git a/test/acceptance/job.use-case-8.test.js b/test/acceptance/job.use-case-8.test.js index b9787403..a7cf321a 100644 --- a/test/acceptance/job.use-case-8.test.js +++ b/test/acceptance/job.use-case-8.test.js @@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig); var batchFactory = require('../../batch'); describe('Use case 8: cancel a running multiquery job', function() { + this.timeout(30000); var batch = batchFactory(metadataBackend, redisConfig); diff --git a/test/acceptance/job.use-case-9.test.js b/test/acceptance/job.use-case-9.test.js index 3e995a97..1eb390ac 100644 --- a/test/acceptance/job.use-case-9.test.js +++ b/test/acceptance/job.use-case-9.test.js @@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig); var batchFactory = require('../../batch'); describe('Use case 9: modify a pending multiquery job', function() { + this.timeout(30000); var batch = batchFactory(metadataBackend, redisConfig);