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

JdbcDatabaseContainer: fix wrong instance call #5465

Merged
merged 2 commits into from
Jun 27, 2022

Conversation

monosoul
Copy link
Contributor

@monosoul monosoul commented Jun 2, 2022

createConnection() method calls a wrong driver instance when logging.

Reason behind this fix: if you override method getJdbcDriverInstance, you will get an exception here.

createConnection() method calls a wrong driver instance when logging
@monosoul monosoul requested a review from a team as a code owner June 2, 2022 20:18
@monosoul
Copy link
Contributor Author

monosoul commented Jun 2, 2022

That's an a bit lazy-ass fix made from GitHub's interface. It can be covered with a test case, but I'd have to checkout the project to do that. Let me know if you want me to do that 🙂

@kiview
Copy link
Member

kiview commented Jun 27, 2022

Thx @monosoul, LGTM

@eddumelendez eddumelendez merged commit afde5d3 into testcontainers:master Jun 27, 2022
@eddumelendez
Copy link
Member

@monosoul thank you for your contribution! this is now in master

monosoul added a commit to monosoul/jooq-gradle-plugin that referenced this pull request Jul 14, 2022
monosoul added a commit to monosoul/jooq-gradle-plugin that referenced this pull request Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants