Open eidottermihi opened 4 months ago
I can have a look :)
I was going to submit this pull request: https://github.com/fmeheust/testcontainers-java/pull/1. Maybe the new line of code bellow should be moved to JdbcDatabaseContainer instead.
this.waitStrategy.withStartupTimeout(Duration.ofSeconds(startupTimeoutSeconds));
Module
Oracle Free
Testcontainers version
1.19.7
Using the latest Testcontainers version?
Yes
Host OS
Windows
Host Arch
x86
Docker version
What happened?
With
OracleContainer
(both oracle-free and oracle-xe) the default startup time is 60 seconds, which is not enough in some cases.Configuring the container with
withStartupTimeoutSeconds(180)
still leads to an startup timeout after 60 seconds:Startup log:
However, if I use
withStartupTimeout(Duration.ofSeconds(180))
the startup timeout is overwritten correctly:Relevant log output
No response
Additional Information
No response