diff --git a/test/acceptance/batch/batch.multiquery.test.js b/test/acceptance/batch/batch.multiquery.test.js index b512ed12..1214c4a9 100644 --- a/test/acceptance/batch/batch.multiquery.test.js +++ b/test/acceptance/batch/batch.multiquery.test.js @@ -124,7 +124,7 @@ describe('batch multiquery', function() { ] ]; - var jobsQueue = queue(2); + var jobsQueue = queue(1); jobs.forEach(function(job) { jobsQueue.defer(function(payload, done) { @@ -165,7 +165,7 @@ describe('batch multiquery', function() { ]; var expectedStatus = [JobStatus.FAILED, JobStatus.DONE]; - var jobsQueue = queue(2); + var jobsQueue = queue(1); jobs.forEach(function(job) { jobsQueue.defer(function(payload, done) { @@ -207,7 +207,7 @@ describe('batch multiquery', function() { ]; var expectedStatus = [JobStatus.DONE, JobStatus.FAILED]; - var jobsQueue = queue(2); + var jobsQueue = queue(1); jobs.forEach(function(job) { jobsQueue.defer(function(payload, done) { diff --git a/test/acceptance/batch/batch.test.js b/test/acceptance/batch/batch.test.js index c663e1a1..f0cd704e 100644 --- a/test/acceptance/batch/batch.test.js +++ b/test/acceptance/batch/batch.test.js @@ -78,7 +78,7 @@ describe('batch happy cases', function() { 'select * from private_table', ]; - var jobsQueue = queue(4); + var jobsQueue = queue(1); jobs.forEach(function(job) { jobsQueue.defer(function(payload, done) { @@ -113,7 +113,7 @@ describe('batch happy cases', function() { 'select * from unexistent_table' ]; - var jobsQueue = queue(4); + var jobsQueue = queue(1); jobs.forEach(function(job) { jobsQueue.defer(function(payload, done) {