-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
add multi initScripts for JDBC containers #1997
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
Conversation
00eafe1 to
1798cb2
Compare
rnorth
left a comment
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.
Sorry this has been stuck for so long. As you can see we're rather swamped 😔
I think that to be as similar to other APIs as possible, the method ought to be of the form:
public SELF withInitScript(String... initScriptPath) {
and possibly also:
public SELF withInitScript(Iterable<String> initScriptPath) {
We should also have a test to guard against future regressions.
|
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. |
1798cb2 to
446f3c7
Compare
ok |
446f3c7 to
553e5c8
Compare
|
Sorry, we also have #2578 - can we just converge on that PR? I don't think it's perfect but it's most of the way towards solving binary compatibility and has the advantage of having a test. (FWIW re binary compatibility the problem is that changing the parameter of a method from |
Inspired by PRs: testcontainers#2578 and testcontainers#1997 Closes testcontainers#2232
Inspired by PRs: testcontainers#2578 and testcontainers#1997 Closes testcontainers#2232
Inspired by PRs: testcontainers#2578 and testcontainers#1997 Closes testcontainers#2232
I need to use many initScripts for JDBC containers.
first script - sql structure
second script - test-data
usage example: