File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
modules/jdbc/src/main/java/org/testcontainers/containers Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ protected void waitUntilContainerStarted() {
158158 try (Connection connection = createConnection ("" ); Statement statement = connection .createStatement ()) {
159159 boolean testQuerySucceeded = statement .execute (this .getTestQueryString ());
160160 if (testQuerySucceeded ) {
161- logger ().info ("Container is started (JDBC URL: {})" , this .getJdbcUrl ());
162161 return ;
163162 }
164163 } catch (NoDriverFoundException e ) {
@@ -184,6 +183,7 @@ protected void waitUntilContainerStarted() {
184183
185184 @ Override
186185 protected void containerIsStarted (InspectContainerResponse containerInfo ) {
186+ logger ().info ("Container is started (JDBC URL: {})" , this .getJdbcUrl ());
187187 runInitScriptIfRequired ();
188188 }
189189
You can’t perform that action at this time.
0 commit comments