Set timeout to 30s

This commit is contained in:
Daniel García Aubert 2016-07-20 19:50:28 +02:00
parent 027e7b8768
commit 438d61fb70
10 changed files with 11 additions and 0 deletions

View File

@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig);
var batchFactory = require('../../batch'); var batchFactory = require('../../batch');
describe('Use case 1: cancel and modify a done job', function () { describe('Use case 1: cancel and modify a done job', function () {
this.timeout(30000);
var batch = batchFactory(metadataBackend, redisConfig); var batch = batchFactory(metadataBackend, redisConfig);

View File

@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig);
var batchFactory = require('../../batch'); var batchFactory = require('../../batch');
describe('Use case 10: cancel and modify a done multiquery job', function () { describe('Use case 10: cancel and modify a done multiquery job', function () {
this.timeout(30000);
var batch = batchFactory(metadataBackend, redisConfig); var batch = batchFactory(metadataBackend, redisConfig);

View File

@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig);
var batchFactory = require('../../batch'); var batchFactory = require('../../batch');
describe('Use case 2: cancel a running job', function() { describe('Use case 2: cancel a running job', function() {
this.timeout(30000);
var batch = batchFactory(metadataBackend, redisConfig); var batch = batchFactory(metadataBackend, redisConfig);

View File

@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig);
var batchFactory = require('../../batch'); var batchFactory = require('../../batch');
describe('Use case 3: cancel a pending job', function() { describe('Use case 3: cancel a pending job', function() {
this.timeout(30000);
var batch = batchFactory(metadataBackend, redisConfig); var batch = batchFactory(metadataBackend, redisConfig);

View File

@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig);
var batchFactory = require('../../batch'); var batchFactory = require('../../batch');
describe('Use case 4: modify a pending job', function() { describe('Use case 4: modify a pending job', function() {
this.timeout(30000);
var batch = batchFactory(metadataBackend, redisConfig); var batch = batchFactory(metadataBackend, redisConfig);

View File

@ -28,6 +28,8 @@ var metadataBackend = require('cartodb-redis')(redisConfig);
var batchFactory = require('../../batch'); var batchFactory = require('../../batch');
describe('Use case 5: modify a running job', function() { describe('Use case 5: modify a running job', function() {
this.timeout(30000);
var batch = batchFactory(metadataBackend, redisConfig); var batch = batchFactory(metadataBackend, redisConfig);
before(function () { before(function () {

View File

@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig);
var batchFactory = require('../../batch'); var batchFactory = require('../../batch');
describe('Use case 6: modify a done job', function() { describe('Use case 6: modify a done job', function() {
this.timeout(30000);
var batch = batchFactory(metadataBackend, redisConfig); var batch = batchFactory(metadataBackend, redisConfig);

View File

@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig);
var batchFactory = require('../../batch'); var batchFactory = require('../../batch');
describe('Use case 7: cancel a job with quotes', function() { describe('Use case 7: cancel a job with quotes', function() {
this.timeout(30000);
var batch = batchFactory(metadataBackend, redisConfig); var batch = batchFactory(metadataBackend, redisConfig);

View File

@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig);
var batchFactory = require('../../batch'); var batchFactory = require('../../batch');
describe('Use case 8: cancel a running multiquery job', function() { describe('Use case 8: cancel a running multiquery job', function() {
this.timeout(30000);
var batch = batchFactory(metadataBackend, redisConfig); var batch = batchFactory(metadataBackend, redisConfig);

View File

@ -28,6 +28,7 @@ var metadataBackend = require('cartodb-redis')(redisConfig);
var batchFactory = require('../../batch'); var batchFactory = require('../../batch');
describe('Use case 9: modify a pending multiquery job', function() { describe('Use case 9: modify a pending multiquery job', function() {
this.timeout(30000);
var batch = batchFactory(metadataBackend, redisConfig); var batch = batchFactory(metadataBackend, redisConfig);