diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 96ff87070..ae26b9005 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -43,5 +43,6 @@ jobs: --codspeed \ -m "not api_key_required" \ -n auto + --timeout 600 - name: Minimize uv cache run: uv cache prune --ci diff --git a/pyproject.toml b/pyproject.toml index f1ead3c7a..059b3c361 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -233,7 +233,7 @@ ignore-regex = '.*(Stati Uniti|Tense=Pres).*' [tool.pytest.ini_options] timeout = 120 -tiemout_method = "thread" +timeout_method = "signal" minversion = "6.0" testpaths = ["tests", "integration"] console_output_style = "progress" diff --git a/src/backend/tests/unit/components/vectorstores/test_graph_rag_component.py b/src/backend/tests/unit/components/vectorstores/test_graph_rag_component.py index 4b065e6e4..9bdf2c636 100644 --- a/src/backend/tests/unit/components/vectorstores/test_graph_rag_component.py +++ b/src/backend/tests/unit/components/vectorstores/test_graph_rag_component.py @@ -159,6 +159,6 @@ class TestGraphRAGComponent(ComponentTestBaseWithoutClient): # Ensures all the k-start_k documents returned via traversal have the same metadata as the # ones returned via the similarity search - assert list({doc.data["type"] for doc in results if doc.data["_depth"] == 0}) == list( - {doc.data["type"] for doc in results if doc.data["_depth"] >= 1} - ) + assert {doc.data["type"] for doc in results if doc.data["_depth"] == 0} == { + doc.data["type"] for doc in results if doc.data["_depth"] >= 1 + }