1 parent 12fef37 commit 3e4e5f2Copy full SHA for 3e4e5f2
1 file changed
modules/oracle-xe/src/main/java/org/testcontainers/containers/OracleContainer.java
@@ -38,12 +38,15 @@ public OracleContainer() {
38
39
public OracleContainer(String dockerImageName) {
40
super(dockerImageName);
41
- withStartupTimeoutSeconds(DEFAULT_STARTUP_TIMEOUT_SECONDS);
42
- withConnectTimeoutSeconds(DEFAULT_CONNECT_TIMEOUT_SECONDS);
+ preconfigure();
43
}
44
45
public OracleContainer(Future<String> dockerImageName) {
46
47
+ }
48
+
49
+ private void preconfigure() {
50
withStartupTimeoutSeconds(DEFAULT_STARTUP_TIMEOUT_SECONDS);
51
withConnectTimeoutSeconds(DEFAULT_CONNECT_TIMEOUT_SECONDS);
52
addExposedPorts(ORACLE_PORT, APEX_HTTP_PORT);
0 commit comments