Skip to content

fix: throw exception when connecting to closed Connector #436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 18, 2025

Conversation

rhatgadkar-goog
Copy link
Collaborator

@rhatgadkar-goog rhatgadkar-goog commented Apr 17, 2025

This is the AlloyDB fix for GoogleCloudPlatform/cloud-sql-python-connector#1268.

Was able to reproduce the issue when closing the connector in https://github.com/GoogleCloudPlatform/alloydb-python-connector/blob/main/tests/system/test_pg8000_public_ip.py before calling connect() here.

@rhatgadkar-goog rhatgadkar-goog changed the title Modify Connector to throw exception when connecting when closed fix: throw exception when connecting when closed Apr 17, 2025
@rhatgadkar-goog rhatgadkar-goog marked this pull request as ready for review April 17, 2025 20:49
@rhatgadkar-goog rhatgadkar-goog requested a review from a team as a code owner April 17, 2025 20:49
@jackwotherspoon jackwotherspoon changed the title fix: throw exception when connecting when closed fix: throw exception when connecting to closed Connector Apr 17, 2025
Copy link
Collaborator

@jackwotherspoon jackwotherspoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅ very nicely done 👏

@rhatgadkar-goog rhatgadkar-goog merged commit 1043a1f into main Apr 18, 2025
15 checks passed
@rhatgadkar-goog rhatgadkar-goog deleted the close-connector branch April 18, 2025 16:56
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.

4 participants