Make some test less demanding
This commit is contained in:
parent
b2a6b319e4
commit
48469aaf0d
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user