Switch to Testcontainers Oracle Free.
Timeout increased from the default because that cause problems on CI. Brought SD JDBC now uses `ojdbc11` as R2DBC. Closes #1665 Original pull request #1668
This commit is contained in:
@@ -29,7 +29,7 @@ import org.springframework.data.r2dbc.testing.ExternalDatabase.ProvidedDatabase;
|
||||
import org.springframework.jdbc.core.JdbcTemplate;
|
||||
import org.springframework.jdbc.datasource.DriverManagerDataSource;
|
||||
import org.springframework.util.ClassUtils;
|
||||
import org.testcontainers.containers.OracleContainer;
|
||||
import org.testcontainers.oracle.OracleContainer;
|
||||
|
||||
/**
|
||||
* Utility class for testing against Oracle.
|
||||
@@ -128,7 +128,9 @@ public class OracleTestSupport {
|
||||
if (testContainerDatabase == null) {
|
||||
|
||||
try {
|
||||
OracleContainer container = new OracleContainer("gvenzl/oracle-xe:21.3.0-slim").withReuse(true);
|
||||
OracleContainer container = new OracleContainer("23.3-slim") //
|
||||
.withReuse(true) //
|
||||
.withStartupTimeoutSeconds(200); // the default of 60s isn't sufficient
|
||||
container.start();
|
||||
|
||||
testContainerDatabase = ProvidedDatabase.builder(container) //
|
||||
|
||||
Reference in New Issue
Block a user