Skip to content
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

fix(db_api): use correct connection attribute when handling Aborted errors #228

Merged
merged 1 commit into from Feb 15, 2021

Conversation

HemangChothani
Copy link
Contributor

@HemangChothani HemangChothani commented Feb 8, 2021

Fixes #225

This PR include error related unit tests to raise the coverage of "DB_API".

@HemangChothani HemangChothani requested a review from c24t Feb 8, 2021
@HemangChothani HemangChothani requested a review from as a code owner Feb 8, 2021
@product-auto-label product-auto-label bot added the api: spanner label Feb 8, 2021
@google-cla google-cla bot added the cla: yes label Feb 8, 2021
@HemangChothani HemangChothani requested a review from larkee Feb 8, 2021
@larkee
Copy link
Contributor

@larkee larkee commented Feb 9, 2021

Thank you for making this PR! Improved test coverage is always appreciated. Are there plans to improve the coverage for google/cloud/spanner_dbapi/utils.py and google/cloud/spanner_dbapi/connection.py as well?

@HemangChothani
Copy link
Contributor Author

@HemangChothani HemangChothani commented Feb 9, 2021

Yes, I will open other PR soon.

larkee
larkee approved these changes Feb 9, 2021
Copy link
Contributor

@larkee larkee left a comment

Thanks again!

@larkee larkee changed the title fix(db_api): connection attribute of connection class and include related unit tests fix(db_api): use correct connection attribute when handling Aborted errors Feb 15, 2021
@larkee larkee merged commit 4afea77 into googleapis:master Feb 15, 2021
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner cla: yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants