You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our continuous integration environment, I've been seeing errors like the following a lot:
com.example.iw.MigrationSpecs *** ABORTED *** (21 seconds, 591 milliseconds)
java.lang.RuntimeException: Cannot run all required containers
at com.whisk.docker.DockerKit.startAllOrFail(DockerKit.scala:59)
at com.whisk.docker.DockerKit.startAllOrFail$(DockerKit.scala:43)
at com.example.iw.MigrationSpecs.startAllOrFail(MigrationSpecs.scala:9)
at com.whisk.docker.scalatest.DockerTestKit.beforeAll(DockerTestKit.scala:21)
at com.whisk.docker.scalatest.DockerTestKit.beforeAll$(DockerTestKit.scala:19)
at com.example.iw.MigrationSpecs.beforeAll(MigrationSpecs.scala:9)
at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:212)
import com.whisk.docker.impl.dockerjava.DockerKitDockerJava
import com.whisk.docker.scalatest.DockerTestKit
import org.flywaydb.core.internal.exception.FlywaySqlException
import org.scalatest.{FreeSpec, Matchers}
class MigrationSpecs extends FreeSpec with Matchers with DockerTestKit with DatabaseDockerContainers with DockerKitDockerJava {
"MySQL migrations" - {
I suspect that DockerKit is failing out too early when waiting for the containers to become alive. I'm going to turn logging up and see if I can reproduce/extract more information. Is there any way to expose the internal timeout and make it configurable?
The text was updated successfully, but these errors were encountered:
In our continuous integration environment, I've been seeing errors like the following a lot:
The test kit I'm using is pretty simple too:
And my Spces2 is built like so:
I suspect that DockerKit is failing out too early when waiting for the containers to become alive. I'm going to turn logging up and see if I can reproduce/extract more information. Is there any way to expose the internal timeout and make it configurable?
The text was updated successfully, but these errors were encountered: