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

Throw error from validation failure #1220

Merged
merged 3 commits into from
Sep 6, 2024
Merged

Conversation

MaxAake
Copy link
Contributor

@MaxAake MaxAake commented Sep 6, 2024

Changes the connection pool behavior on errors during validation, these would be unintended behavior and as such the driver should throw an error if it occurs, rather than simply logging as was the case in the 5.24.1 patch release fix.

Also updates the test to control for this behavior.

Also includes a test case for this. But the pool seems to break after a throw occurs
Test for errors during validation now functions properly
@MaxAake MaxAake closed this Sep 6, 2024
@MaxAake MaxAake reopened this Sep 6, 2024
Copy link
Contributor

@bigmontz bigmontz left a comment

Choose a reason for hiding this comment

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

🍎

@MaxAake MaxAake merged commit 5f5cd5c into 5.0 Sep 6, 2024
37 checks passed
@MaxAake MaxAake deleted the throwing-error-on-validation-fail branch September 6, 2024 12:26
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.

2 participants