-
Notifications
You must be signed in to change notification settings - Fork 21
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
Implemented Connection#setStatementTimeout #200
Conversation
Would it be possible for you to consider adding an integration test related to timeout scenarios? |
Actually i am not more into testing . |
We need test cases before merge this. Let me add some tests. |
PTAL @mirromutth @JohnNiang |
77d7600
to
dc2dd93
Compare
src/test/java/io/asyncer/r2dbc/mysql/QueryIntegrationTestSupport.java
Outdated
Show resolved
Hide resolved
@jchrys That exception should be It is caused by server version, so this failure is permanent unless user upgrade their database. |
Thanks for correction! Let me fix it :D |
Motivation: Previously, the `Connection#setStatementTimeout` method did not perform any operation (NO-OP). Modification: Successfully implemented the functionality for `Connection#setStatementTimeout`. Result: The `Connection#setStatementTimeout` method is now fully operational and functional. Resolves asyncer-io#193 Co-authored-by: jchrys <[email protected]>
PTAL @mirromutth |
src/test/java/io/asyncer/r2dbc/mysql/IntegrationTestSupport.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Mirro Mutth <[email protected]> Signed-off-by: jchrys <[email protected]>
Co-authored-by: Mirro Mutth <[email protected]> Signed-off-by: jchrys <[email protected]>
Co-authored-by: Mirro Mutth <[email protected]> Signed-off-by: jchrys <[email protected]>
src/test/java/io/asyncer/r2dbc/mysql/QueryIntegrationTestSupport.java
Outdated
Show resolved
Hide resolved
src/test/java/io/asyncer/r2dbc/mysql/IntegrationTestSupport.java
Outdated
Show resolved
Hide resolved
Signed-off-by: jchrys <[email protected]>
…rt.java Signed-off-by: jchrys <[email protected]>
Co-authored-by: Mirro Mutth <[email protected]> Signed-off-by: jchrys <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Implemented Connection#setStatementTimeout function kindly check and approve :)