Skip to content

Commit 5cd3990

Browse files
committed
fix unit tests
1 parent e04afad commit 5cd3990

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/cubejs-server-core/test/unit/OptsHandler.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -525,13 +525,13 @@ describe('OptsHandler class', () => {
525525
expect(opts.queryCacheOptions.queueOptions).toBeDefined();
526526
expect(typeof opts.queryCacheOptions.queueOptions).toEqual('function');
527527
expect(await opts.queryCacheOptions.queueOptions()).toEqual({
528-
concurrency: 2,
528+
concurrency: 5,
529529
});
530530

531531
expect(opts.preAggregationsOptions.queueOptions).toBeDefined();
532532
expect(typeof opts.preAggregationsOptions.queueOptions).toEqual('function');
533533
expect(await opts.preAggregationsOptions.queueOptions()).toEqual({
534-
concurrency: 2,
534+
concurrency: 5,
535535
});
536536
}
537537
);
@@ -555,13 +555,13 @@ describe('OptsHandler class', () => {
555555
expect(opts.queryCacheOptions.queueOptions).toBeDefined();
556556
expect(typeof opts.queryCacheOptions.queueOptions).toEqual('function');
557557
expect(await opts.queryCacheOptions.queueOptions()).toEqual({
558-
concurrency: 2,
558+
concurrency: 5,
559559
});
560560

561561
expect(opts.preAggregationsOptions.queueOptions).toBeDefined();
562562
expect(typeof opts.preAggregationsOptions.queueOptions).toEqual('function');
563563
expect(await opts.preAggregationsOptions.queueOptions()).toEqual({
564-
concurrency: 2,
564+
concurrency: 5,
565565
});
566566
}
567567
);
@@ -585,13 +585,13 @@ describe('OptsHandler class', () => {
585585
expect(opts.queryCacheOptions.queueOptions).toBeDefined();
586586
expect(typeof opts.queryCacheOptions.queueOptions).toEqual('function');
587587
expect(await opts.queryCacheOptions.queueOptions()).toEqual({
588-
concurrency: 2,
588+
concurrency: 5,
589589
});
590590

591591
expect(opts.preAggregationsOptions.queueOptions).toBeDefined();
592592
expect(typeof opts.preAggregationsOptions.queueOptions).toEqual('function');
593593
expect(await opts.preAggregationsOptions.queueOptions()).toEqual({
594-
concurrency: 2,
594+
concurrency: 5,
595595
});
596596
}
597597
);

0 commit comments

Comments
 (0)