Skip to content

Commit

Permalink
chore(test): enabling test on windows with increased timeout (#2482)
Browse files Browse the repository at this point in the history
* chore(test): enabling test on windows with increased timeout
  • Loading branch information
cbr7 authored Feb 6, 2025
1 parent 2e5714e commit 9231380
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/playwright/src/ai-lab-extension.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ test.describe.serial(`AI Lab extension installation and verification`, () => {
});

test(`Make POST request to the model service for ${modelName}`, async ({ request }) => {
test.skip(isWindows || modelName === 'ggerganov/whisper.cpp', `Skipping POST request for ${modelName}`);
test.setTimeout(70_000);
test.skip(modelName === 'ggerganov/whisper.cpp', `Skipping POST request for ${modelName}`);
test.setTimeout(610_000);

const port = await modelServiceDetailsPage.getInferenceServerPort();
const url = `http://localhost:${port}/v1/chat/completions`;
Expand All @@ -237,7 +237,7 @@ test.describe.serial(`AI Lab extension installation and verification`, () => {
});
playExpect(response.ok()).toBeTruthy();
playExpect(await response.text()).toContain('Madrid');
}).toPass({ timeout: 60_000 });
}).toPass({ timeout: 600_000, intervals: [5_000] });
});

test(`Delete model service for ${modelName}`, async () => {
Expand Down

0 comments on commit 9231380

Please sign in to comment.