chore: Increase timeout for codspeed workflow and fix typo in configuration (#7598)

* fix: correct typo in pyproject.toml timeout configuration

Updated the timeout_method key in the pytest.ini_options section from 'tiemout_method' to 'timeout_method' for proper functionality.

* chore: increase timeout for codspeed workflow to 600 seconds

Updated the codspeed workflow configuration to extend the timeout limit, ensuring more robust execution during CI processes.

* fix: Update assertion in TestGraphRAGComponent to use set comparison for improved clarity and performance

* fix: Change pytest timeout method from thread to signal for improved reliability
This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-04-25 12:34:12 -03:00 committed by GitHub
commit 3407fecc79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View file

@ -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
}