From db9fd82fcab86fdf865804b5d60bfb4d8f24aaed Mon Sep 17 00:00:00 2001 From: lutangar Date: Tue, 11 Jun 2024 11:26:12 +0200 Subject: [PATCH] chore(transcription): raise test preconditions timeout --- .../transcription/whisper/transcriber/openai-transcriber.spec.ts | 1 + .../whisper/transcriber/timestamped-transcriber.spec.ts | 1 + .../whisper/transcriber/whisper-ctranslate2.spec.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/tests/src/transcription/whisper/transcriber/openai-transcriber.spec.ts b/packages/tests/src/transcription/whisper/transcriber/openai-transcriber.spec.ts index 03cc73a32f4e..5c21e58f1c48 100644 --- a/packages/tests/src/transcription/whisper/transcriber/openai-transcriber.spec.ts +++ b/packages/tests/src/transcription/whisper/transcriber/openai-transcriber.spec.ts @@ -44,6 +44,7 @@ describe('Open AI Whisper transcriber', function () { ) before(async function () { + this.timeout(1 * 1000 * 60) await mkdir(transcriptDirectory, { recursive: true }) await unzip(await downloadFile(FIXTURE_URLS.transcriptionModels, tmpDirectory)) }) diff --git a/packages/tests/src/transcription/whisper/transcriber/timestamped-transcriber.spec.ts b/packages/tests/src/transcription/whisper/transcriber/timestamped-transcriber.spec.ts index dbfdc50f99bf..d3174795bf0e 100644 --- a/packages/tests/src/transcription/whisper/transcriber/timestamped-transcriber.spec.ts +++ b/packages/tests/src/transcription/whisper/transcriber/timestamped-transcriber.spec.ts @@ -37,6 +37,7 @@ describe('Linto timestamped Whisper transcriber', function () { ) before(async function () { + this.timeout(1 * 1000 * 60) await mkdir(transcriptDirectory, { recursive: true }) await unzip(await downloadFile(FIXTURE_URLS.transcriptionModels, tmpDirectory)) }) diff --git a/packages/tests/src/transcription/whisper/transcriber/whisper-ctranslate2.spec.ts b/packages/tests/src/transcription/whisper/transcriber/whisper-ctranslate2.spec.ts index c7fc27175be5..eaa261228132 100644 --- a/packages/tests/src/transcription/whisper/transcriber/whisper-ctranslate2.spec.ts +++ b/packages/tests/src/transcription/whisper/transcriber/whisper-ctranslate2.spec.ts @@ -38,6 +38,7 @@ describe('Whisper CTranslate2 transcriber', function () { ) before(async function () { + this.timeout(1 * 1000 * 60) await mkdir(transcriptDirectory, { recursive: true }) await unzip(await downloadFile(FIXTURE_URLS.transcriptionModels, tmpDirectory)) })