Set timeout to 30s
This commit is contained in:
parent
027e7b8768
commit
438d61fb70
@ -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);
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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 () {
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user