From 2dcda9fdc329b2212f16649988a92af639fdc196 Mon Sep 17 00:00:00 2001 From: rschneider <97682836+rainer-exxcellent@users.noreply.github.com> Date: Thu, 29 Jun 2023 08:01:42 +0200 Subject: [PATCH] fix(api): API-Model: Rename DTOs #268 - try to make bride tests more reliable --- .../bpdm/bridge/dummy/util/OpenSearchContextInitializer.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bpdm-bridge-dummy/src/test/kotlin/com/catenax/bpdm/bridge/dummy/util/OpenSearchContextInitializer.kt b/bpdm-bridge-dummy/src/test/kotlin/com/catenax/bpdm/bridge/dummy/util/OpenSearchContextInitializer.kt index a998b8e15..6d980b855 100644 --- a/bpdm-bridge-dummy/src/test/kotlin/com/catenax/bpdm/bridge/dummy/util/OpenSearchContextInitializer.kt +++ b/bpdm-bridge-dummy/src/test/kotlin/com/catenax/bpdm/bridge/dummy/util/OpenSearchContextInitializer.kt @@ -20,14 +20,12 @@ package com.catenax.bpdm.bridge.dummy.util -import com.catenax.bpdm.bridge.dummy.util.PostgreSQLContextInitializer.Companion.postgreSQLContainer import com.github.dockerjava.api.model.Ulimit import org.springframework.boot.test.util.TestPropertyValues import org.springframework.context.ApplicationContextInitializer import org.springframework.context.ConfigurableApplicationContext import org.testcontainers.containers.GenericContainer import org.testcontainers.containers.wait.strategy.HttpWaitStrategy -import org.testcontainers.lifecycle.Startable /** * When used on a spring boot test, starts a singleton opensearch container that is shared between all integration tests. @@ -53,8 +51,6 @@ class OpenSearchContextInitializer : ApplicationContextInitializer cmd.hostConfig!!.withUlimits(arrayOf(Ulimit("nofile", 65536L, 65536L), Ulimit("memlock", -1L, -1L))) } - .withNetwork(postgreSQLContainer.getNetwork()) - .dependsOn(listOf(postgreSQLContainer)) } override fun initialize(applicationContext: ConfigurableApplicationContext) {