Skip to content

Commit f8a452c

Browse files
committed
CCM-11352: tighten up intervals so the tests finish faster
1 parent e688206 commit f8a452c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

tests/test-team/config/event/event.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import baseConfig from '../playwright.config';
44
export default defineConfig({
55
...baseConfig,
66

7+
workers: 4, // 4 workers is the limit before User Auth starts failing in fully parallel mode
78
timeout: 120_000,
89
projects: [
910
{

tests/test-team/template-mgmt-event-tests/digital-templates.event.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ test.describe('Event publishing - Digital', () => {
120120
}),
121121
})
122122
);
123-
}).toPass({ timeout: 60_000, intervals: [1000, 3000, 5000, 10_000] });
123+
}).toPass({ timeout: 60_000, intervals: [1000, 3000, 5000] });
124124
});
125125

126126
test('Expect Deleted.v1 event When deleting templates', async ({
@@ -188,7 +188,7 @@ test.describe('Event publishing - Digital', () => {
188188
}),
189189
})
190190
);
191-
}).toPass({ timeout: 60_000, intervals: [1000, 3000, 5000, 10_000] });
191+
}).toPass({ timeout: 60_000, intervals: [1000, 3000, 5000] });
192192
});
193193
});
194194
}

tests/test-team/template-mgmt-event-tests/letter-templates.event.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ test.describe('Event publishing - Letters', () => {
251251
}),
252252
})
253253
);
254-
}).toPass({ timeout: 90_000, intervals: [1000, 3000, 5000, 10_000] });
254+
}).toPass({ timeout: 90_000, intervals: [1000, 3000, 5000] });
255255
});
256256

257257
test('Expect Deleted.v1 event when deleting templates', async ({
@@ -310,6 +310,6 @@ test.describe('Event publishing - Letters', () => {
310310
}),
311311
})
312312
);
313-
}).toPass({ timeout: 60_000, intervals: [1000, 3000, 5000, 10_000] });
313+
}).toPass({ timeout: 60_000, intervals: [1000, 3000, 5000] });
314314
});
315315
});

0 commit comments

Comments
 (0)