Skip to content

Commit b27dfd2

Browse files
committed
chore(ci,test): fix model download timeouts
Signed-off-by: Tibor Dancs <[email protected]>
1 parent b357be3 commit b27dfd2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/playwright/src/ai-lab-extension.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ test.describe.serial(`AI Lab extension installation and verification`, () => {
268268

269269
// This test is currently failing due to a known issue: https://github.com/containers/podman-desktop-extension-ai-lab/issues/2925
270270
test.skip(`Download ${model} via API`, async ({ request }) => {
271-
test.setTimeout(300_000);
271+
test.setTimeout(610_000);
272272
const catalogPage = await aiLabPage.navigationBar.openCatalog();
273273
await catalogPage.waitForLoad();
274274
console.log(`Downloading ${model}...`);
@@ -282,7 +282,7 @@ test.describe.serial(`AI Lab extension installation and verification`, () => {
282282
insecure: false,
283283
stream: true,
284284
},
285-
timeout: 300_000,
285+
timeout: 600_000,
286286
});
287287

288288
const body = await response.body();
@@ -338,24 +338,24 @@ test.describe.serial(`AI Lab extension installation and verification`, () => {
338338
});
339339

340340
test(`Download ${modelName} model`, async () => {
341-
test.setTimeout(310_000);
341+
test.setTimeout(610_000);
342342
if (!(await catalogPage.isModelDownloaded(modelName))) {
343343
await catalogPage.downloadModel(modelName);
344344
}
345345
await playExpect
346346
// eslint-disable-next-line sonarjs/no-nested-functions
347-
.poll(async () => await waitForCatalogModel(modelName), { timeout: 300_000, intervals: [5_000] })
347+
.poll(async () => await waitForCatalogModel(modelName), { timeout: 600_000, intervals: [5_000] })
348348
.toBeTruthy();
349349
});
350350

351351
test(`Delete ${modelName} model`, async () => {
352352
test.skip(isWindows, 'Model deletion is currently very buggy in azure cicd');
353-
test.setTimeout(310_000);
353+
test.setTimeout(610_000);
354354
playExpect(await catalogPage.isModelDownloaded(modelName)).toBeTruthy();
355355
await catalogPage.deleteModel(modelName);
356356
await playExpect
357357
// eslint-disable-next-line sonarjs/no-nested-functions
358-
.poll(async () => await waitForCatalogModel(modelName), { timeout: 300_000, intervals: [2_500] })
358+
.poll(async () => await waitForCatalogModel(modelName), { timeout: 600_000, intervals: [2_500] })
359359
.toBeFalsy();
360360
});
361361
});

0 commit comments

Comments
 (0)