Skip to content

Commit

Permalink
Merge pull request #28 from openfoodfacts/fix-redis-test
Browse files Browse the repository at this point in the history
Allow time for the Redis testcontainer to start
  • Loading branch information
john-gom authored Dec 19, 2023
2 parents d38d19c + 9c7d916 commit 980f60a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/domain/services/import.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ describe('ProductTag', () => {
});

describe('receiveMessages', () => {
// Allow a little time for the testcontainer to start
jest.setTimeout(30000);
it('should call importwithfilter when a message is received', async () => {
await createTestingModule([DomainModule], async (app) => {
// GIVEN: Redis is running
Expand Down

0 comments on commit 980f60a

Please sign in to comment.