Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

Fix test timeout in CI: Skip Ollama tests at module level

tombiic5e923baa03e
diff --git a/tests/test_programmatic_custom_llm_retriever.py b/tests/test_programmatic_custom_llm_retriever.py
index d6fbbc69d8..7b9c494f57 100644
--- a/tests/test_programmatic_custom_llm_retriever.py
+++ b/tests/test_programmatic_custom_llm_retriever.py
@@ -25,6 +25,13 @@ def _is_ollama_running():
return False
+# Skip entire module if Ollama is not running to avoid fixture initialization hangs
+pytestmark = pytest.mark.skipif(
+ not _is_ollama_running(),
+ reason="Ollama is not running - skipping all Ollama integration tests",
+)
+
+
@pytest.fixture(autouse=True)
def clear_registries():
"""Clear registries before and after each test."""