Skip to content

Commit 5862242

Browse files
committed
CCM-12613: give the test a bigger timeout to complete
1 parent 04e6bd2 commit 5862242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ test.describe('Digital Letters - Upload to PDM', () => {
111111

112112
test('should send invalid event to dlq', async () => {
113113
// Sadly it takes longer than expected to go through the 3 retries before it's sent to the DLQ.
114-
test.setTimeout(360_000);
114+
test.setTimeout(480_000);
115115

116116
const eventId = uuidv4();
117117
const messageUri = `not-a-valid-s3-uri`;
@@ -146,6 +146,6 @@ test.describe('Digital Letters - Upload to PDM', () => {
146146
expect(eventLogEntry.length).toEqual(1);
147147
});
148148

149-
await expectMessageContainingString(PDM_UPLOADER_DLQ_NAME, eventId, 300);
149+
await expectMessageContainingString(PDM_UPLOADER_DLQ_NAME, eventId, 420);
150150
});
151151
});

0 commit comments

Comments
 (0)