Closed as not planned
Description
I use the following code to start a container:
private class CustomOracleContainer
extends GenericContainer[CustomOracleContainer](
DockerImageName.parse("mycompany/oracle:enterprise-19.14.0-preloaded-20220120-27-36701e3")
)
private val oracleContainer: CustomOracleContainer = new CustomOracleContainer()
.withExposedPorts(1521)
.withNetworkMode("host")
.waitingFor(Wait.forLogMessage("DATABASE IS READY TO USE!\\n", 1))
.withStartupTimeout(Duration.ofSeconds(160))
With testcontainers 1.15.1
, it works.
When updating to 1.16.3
, I get the following error:
ERROR ?.1.0-preloaded-20220120-27-36701e3] - Could not start container
org.testcontainers.shaded.org.awaitility.core.ConditionTimeoutException: Lambda expression in org.testcontainers.containers.GenericContainer: expected the predicate to return <true> but it returned <false> for input of <InspectContainerResponse(...))> within 5 seconds.
at org.testcontainers.shaded.org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:164)
at org.testcontainers.shaded.org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86)
at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:939)
at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:645)
Any idea what's happening ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment