-
-
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
Ability to provide classloader for JdbcDatabaseContainer #344
Comments
Haven't checked might be possible if it used thread context classloader. |
Ok to do PR? |
Everyone I know who is working with Oracle JDBC drivers has them in their own Artifactory or deploys them in the local Maven repository on the dev machines. So TBH, I'm not sure if this would help a lot. Could you explain your use case? |
Use-Case: So we/I want to have the driver side-loaded. |
For instance, you could in this project assume that the Oracle driver was located in ${project.baseDir}/proprietary and run Oracle tests when the driver is located in that folder. If the assumption passes. If it can't find the driver it will just ignore the test, which differs from right now as it ignores the whole module. |
No reason to keep this open if it's not wanted. |
Let's wait for the opinion of @rnorth. |
I'm sorry, to be honest with this one I think it's just a bit too much complexity to add. Would you be able to find another way to do this?
Sorry, but thanks for taking the time to suggest it.
|
@rnorth |
@rnorth manage to solve it with maven and a cpl of settings for the failsafe plugin. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this. |
This issue has been automatically closed due to inactivity. We apologise if this is still an active problem for you, and would ask you to re-open the issue if this is the case. |
Would be nice if one could supply a Driver classloader to the JdbcDatabaseContainer.
This is more or less specific to Oracle test container. Since it's problematic to have the proprietary drivers in a repository.
The text was updated successfully, but these errors were encountered: