Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If the default 60s timeout is not sufficient, it can be altered with the withStartupTimeout() method.
See also Waiting for containers to start or be ready
The java stack trace logs :
Error: org.apache.drill.exec.store.cassandra.TestCassandraSuit Time elapsed: 190.343 s <<< ERROR!
16634org.testcontainers.containers.ContainerLaunchException: Container startup failed
16635 at org.apache.drill.exec.store.cassandra.TestCassandraSuit.startCassandra(TestCassandraSuit.java:69)
16636 at org.apache.drill.exec.store.cassandra.TestCassandraSuit.initCassandra(TestCassandraSuit.java:46)
16637Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
16638 at org.apache.drill.exec.store.cassandra.TestCassandraSuit.startCassandra(TestCassandraSuit.java:69)
16639 at org.apache.drill.exec.store.cassandra.TestCassandraSuit.initCassandra(TestCassandraSuit.java:46)
16640Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
16641 at org.apache.drill.exec.store.cassandra.TestCassandraSuit.startCassandra(TestCassandraSuit.java:69)
16642 at org.apache.drill.exec.store.cassandra.TestCassandraSuit.initCassandra(TestCassandraSuit.java:46)
16643Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for container port to open (localhost ports: [49174] should be listening)
16644 at org.apache.drill.exec.store.cassandra.TestCassandraSuit.startCassandra(TestCassandraSuit.java:69)
16645 at org.apache.drill.exec.store.cassandra.TestCassandraSuit.initCassandra(TestCassandraSuit.java:46)