-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Don't use SSL when connecting to JDBC containers #561
Conversation
Upgrade mysql connector to expose this problem in the first place.
I could not think of any way to automatically test it. So just made manual verifications, that warnings are now gone. |
@@ -147,6 +147,11 @@ public Connection createConnection(String queryString) throws SQLException { | |||
} | |||
} | |||
|
|||
private String disableSSL(String connectionString){ |
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.
I'd prefer something like convertToDisabledSslConnectionString
or appendDisableSslConfig
, since disableSSL
sounds like a state changing method.
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.
Make sense. Done.
LGTM, thanks 🙂 |
Thanks for this @iNikem ! |
Fixes #374 and removes annoying warnings that are just pure noise during tests.