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:
parent
bec701789c
commit
3407fecc79
3 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue