Skip to content

Commit

Permalink
add bullmq prefixing to integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzevzl committed May 13, 2022
1 parent 19938a1 commit 13321dd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import * as config from 'config';
import waitForExpect from 'wait-for-expect';
import { QueueModule } from '@marxan-api/modules/queue/queue.module';
import { getRedisConfig } from '@marxan-api/utils/redisConfig.utils';
import { bullmqPrefix } from '@marxan/utils';

const queueName = baseQueueName + '_test_' + Date.now();

Expand Down Expand Up @@ -128,6 +129,7 @@ const getFixtures = async () => {
{
...getRedisConfig(),
concurrency: config.get('redis.concurrency'),
prefix: bullmqPrefix(),
},
);
workers.push(worker);
Expand Down

0 comments on commit 13321dd

Please sign in to comment.