Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

tests: relax 5s pytest-timeout marks that flake on slow CI runners (#9448)

Lincoln Stein0805ad441281
diff --git a/tests/app/services/model_install/test_model_install.py b/tests/app/services/model_install/test_model_install.py
index 6c0fc1138e..8d94205237 100644
--- a/tests/app/services/model_install/test_model_install.py
+++ b/tests/app/services/model_install/test_model_install.py
@@ -686,7 +686,7 @@ def test_prune_jobs_rebind_preserves_existing_iterators(
assert all(job not in mm2_installer.list_jobs() for job in jobs)
[email protected](timeout=5, method="thread")
[email protected](timeout=30, method="thread")
def test_prune_jobs_waits_for_the_installer_lock(mm2_installer: ModelInstallServiceBase) -> None:
lock_held = threading.Event()
release_lock = threading.Event()
@@ -714,7 +714,7 @@ def test_prune_jobs_waits_for_the_installer_lock(mm2_installer: ModelInstallServ
assert prune_completed.is_set()
[email protected](timeout=5, method="thread")
[email protected](timeout=30, method="thread")
def test_import_and_wait_for_installs_fail_before_start(
mm2_app_config: InvokeAIAppConfig,
mm2_record_store,
@@ -736,7 +736,7 @@ def test_import_and_wait_for_installs_fail_before_start(
installer.wait_for_installs(timeout=0.1)
[email protected](timeout=5, method="thread")
[email protected](timeout=30, method="thread")
def test_import_fails_after_startup_failure(
mm2_app_config: InvokeAIAppConfig,
mm2_record_store,
@@ -768,7 +768,7 @@ def test_import_fails_after_startup_failure(
installer.stop()
[email protected](timeout=5, method="thread")
[email protected](timeout=30, method="thread")
def test_base_exception_during_startup_releases_import_waiters(
mm2_app_config: InvokeAIAppConfig,
mm2_record_store,