Skip to content

Conversation

Ali-Ismail-1
Copy link

Description

Add test_network_timeout_scenarios to verify Redis cache handles socket timeouts gracefully by returning empty dict instead of crashing during network issues.

This test improves error handling coverage by simulating network timeout conditions using very short socket timeouts (1ms) and verifying both set() and get() operations fail gracefully rather than raising exceptions.

Issue

Addresses gap in network error handling test coverage for Redis cache implementation.

Dependencies

None - uses existing test infrastructure and Redis client configuration options.

Twitter handle

Ali_F_Ismail

Add test_network_timeout_scenarios to verify Redis cache handles
socket timeouts gracefully by returning empty dict instead of crashing

Tests short socket timeout scenarios during get/set operations.
Copy link

vercel bot commented Sep 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
langgraph-docs-preview Ignored Ignored Preview Sep 24, 2025 9:38pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant