Skip to content

Commit 2006546

Browse files
committed
re-instate conftest pre-install & add timeout
1 parent e8a12de commit 2006546

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

tests/aws/conftest.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,19 @@ def pytest_runtestloop(session):
4545
)
4646

4747
test_init_functions.add(opensearch_install_async)
48-
if any(opensearch_test in parent_name for opensearch_test in ["test_es", "firehose"]):
48+
49+
if any(es_test in parent_name for es_test in ["elasticsearch", "firehose"]):
4950
from tests.aws.services.es.test_es import install_async as es_install_async
5051

5152
test_init_functions.add(es_install_async)
5253

54+
if "transcribe" in parent_name:
55+
from tests.aws.services.transcribe.test_transcribe import (
56+
install_async as transcribe_install_async,
57+
)
58+
59+
test_init_functions.add(transcribe_install_async)
60+
5361
# add init functions for certain tests that download/install things
5462
for test_class in test_classes:
5563
# set flag that terraform will be used

tests/aws/services/transcribe/test_transcribe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
ffmpeg_installed = threading.Event()
3030
installation_errored = threading.Event()
3131

32-
INSTALLATION_TIMEOUT = 4 * 60
32+
INSTALLATION_TIMEOUT = 5 * 60
3333
PRE_DOWNLOAD_LANGUAGE_CODE_MODELS = ["en-GB"]
3434

3535

0 commit comments

Comments
 (0)