test: Relax component loading test timeouts (#9588)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Cristhian Zanforlin Lousa 2025-08-28 13:51:43 -03:00 committed by GitHub
commit e441dd80ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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