Skip to content

Commit ef2af80

Browse files
committed
CCM-10048: up the timeout for guardduty evenbt triggers
1 parent e2771cf commit ef2af80

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/test-team/template-mgmt-e2e-tests/template-mgmt-letter-file-validation.e2e.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ test.describe('letter file validation', () => {
328328
await assertPdfTemplateGuardDutyEvent({
329329
key,
330330
scanResult: 'UNSUPPORTED',
331-
timeout: 30_000,
332331
});
333332

334333
await assertTestDataGuardDutyEvent({

tests/test-team/template-mgmt-e2e-tests/template-mgmt-letter-guardduty.steps.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type FileConfig = {
1717
};
1818

1919
function assertGuardDutyEventForFile(
20-
{ key, scanResult, timeout = 10_000 }: AssertConfig,
20+
{ key, scanResult, timeout = 60_000 }: AssertConfig,
2121
{ pathPrefix, extension, getFile }: FileConfig
2222
) {
2323
const guardDutyScan = new SimulateGuardDutyScan();
@@ -81,6 +81,6 @@ export function assertProofGuardDutyEvent(
8181
});
8282

8383
expect(published).toEqual(true);
84-
}).toPass({ timeout: props.timeout });
84+
}).toPass({ timeout: 60_000 });
8585
});
8686
}

0 commit comments

Comments
 (0)