From 13321dd411a54db01e3ba03879d53ea98383160e Mon Sep 17 00:00:00 2001 From: andrea rota Date: Fri, 13 May 2022 18:12:13 +0100 Subject: [PATCH] add bullmq prefixing to integration test --- .../test/scenario-cost-template/bull-mq-integration.e2e-spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/apps/api/test/scenario-cost-template/bull-mq-integration.e2e-spec.ts b/api/apps/api/test/scenario-cost-template/bull-mq-integration.e2e-spec.ts index a4faccb540..2af52308db 100644 --- a/api/apps/api/test/scenario-cost-template/bull-mq-integration.e2e-spec.ts +++ b/api/apps/api/test/scenario-cost-template/bull-mq-integration.e2e-spec.ts @@ -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(); @@ -128,6 +129,7 @@ const getFixtures = async () => { { ...getRedisConfig(), concurrency: config.get('redis.concurrency'), + prefix: bullmqPrefix(), }, ); workers.push(worker);