From ec4ba77d37f32d2bf237d697ff15fe350017b956 Mon Sep 17 00:00:00 2001 From: Sergey Okatov Date: Wed, 2 Oct 2024 23:37:33 +0500 Subject: [PATCH] M7l4 Cassandra e2e startupTimeout is 5 minutes --- .../src/test/kotlin/fixture/docker/AbstractDockerCompose.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ok-marketplace-tests/ok-marketplace-e2e-be/src/test/kotlin/fixture/docker/AbstractDockerCompose.kt b/ok-marketplace-tests/ok-marketplace-e2e-be/src/test/kotlin/fixture/docker/AbstractDockerCompose.kt index 8182028..b6396af 100644 --- a/ok-marketplace-tests/ok-marketplace-e2e-be/src/test/kotlin/fixture/docker/AbstractDockerCompose.kt +++ b/ok-marketplace-tests/ok-marketplace-e2e-be/src/test/kotlin/fixture/docker/AbstractDockerCompose.kt @@ -5,6 +5,7 @@ import io.ktor.http.* import org.testcontainers.containers.DockerComposeContainer import ru.otus.otuskotlin.marketplace.blackbox.fixture.docker.DockerCompose import java.io.File +import java.time.Duration private val log = Logger @@ -28,6 +29,7 @@ abstract class AbstractDockerCompose( private val compose = DockerComposeContainer(getComposeFiles()).apply { // withOptions("--compatibility") + withStartupTimeout(Duration.ofMinutes(5)) apps.forEach { (service, port) -> withExposedService( service,