ci: Fix CI timeout issues (no-changelog) (#5250)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-01-26 11:44:50 +01:00
committed by GitHub
parent 54333398ce
commit c8a146ba31
7 changed files with 34 additions and 19 deletions

View File

@@ -17,7 +17,11 @@ let workflowOwnerRole: Role;
let workflowRunner: ActiveWorkflowRunner;
beforeAll(async () => {
app = await utils.initTestServer({ endpointGroups: ['publicApi'], applyAuth: false });
app = await utils.initTestServer({
endpointGroups: ['publicApi'],
applyAuth: false,
enablePublicAPI: true,
});
await testDb.init();
const [fetchedGlobalOwnerRole, fetchedGlobalMemberRole, fetchedWorkflowOwnerRole] =
@@ -49,7 +53,7 @@ beforeEach(async () => {
});
afterEach(async () => {
await workflowRunner.removeAll();
await workflowRunner?.removeAll();
});
afterAll(async () => {