Skip to content

Commit 6338cb3

Browse files
committed
CCM-14480: Increase PDM Uploader test timeout
1 parent d45e1b6 commit 6338cb3

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tests/playwright/digital-letters-component-tests/pdm-uploader.component.spec.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ test.describe('Digital Letters - Upload to PDM', () => {
175175
});
176176

177177
test('should send invalid event to uploader dlq', async () => {
178-
// Sadly it takes longer than expected to go through the 3 retries before it's sent to the DLQ.
179-
test.setTimeout(120_000);
178+
test.setTimeout(160_000);
180179

181180
const eventId = uuidv4();
182181
const messageUri = `not-a-valid-s3-uri`;
@@ -212,9 +211,9 @@ test.describe('Digital Letters - Upload to PDM', () => {
212211
);
213212

214213
expect(eventLogEntry.length).toEqual(1);
215-
}, 100),
214+
}, 150),
216215

217-
expectMessageContainingString(PDM_UPLOADER_DLQ_NAME, eventId, 100),
216+
expectMessageContainingString(PDM_UPLOADER_DLQ_NAME, eventId, 150),
218217
]);
219218
});
220219
});

0 commit comments

Comments
 (0)