From e441dd80ed61231afd33f162511ffa61e3916f41 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Thu, 28 Aug 2025 13:51:43 -0300 Subject: [PATCH] test: Relax component loading test timeouts (#9588) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- src/backend/tests/unit/test_load_components.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/tests/unit/test_load_components.py b/src/backend/tests/unit/test_load_components.py index 406d7055d..190d8daf2 100644 --- a/src/backend/tests/unit/test_load_components.py +++ b/src/backend/tests/unit/test_load_components.py @@ -64,9 +64,9 @@ class TestComponentLoading: print(f"aget_all_types_dict: {all_types_duration:.4f}s") print(f"Ratio (langflow/all_types): {langflow_duration / max(all_types_duration, 0.0001):.2f}") - # Both should complete in reasonable time (< 5s for langflow, < 15s for all_types) - assert langflow_duration < 5.0, f"get_langflow_components_list took too long: {langflow_duration}s" - assert all_types_duration < 15.0, f"aget_all_types_dict took too long: {all_types_duration}s" + # Both should complete in reasonable time (< 10s for langflow, < 20s for all_types) + assert langflow_duration < 10.0, f"get_langflow_components_list took too long: {langflow_duration}s" + assert all_types_duration < 20.0, f"aget_all_types_dict took too long: {all_types_duration}s" # Store results for further analysis return {