aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIzabela Zawadzka <izabela.zawadzka@nokia.com>2019-08-20 14:22:40 +0200
committerIzabela Zawadzka <izabela.zawadzka@nokia.com>2019-08-20 14:22:40 +0200
commita2d68b7468b69646d5b2cf9d1ca2c9421a20fa9d (patch)
tree61994484f5613c751d3b197c4ec85845c49378e0
parentcfb9f162c5d53a67ed4b3fe17d5373f1e7c954da (diff)
Use local docker-compose in testcontainers
Issue-ID: DCAEGEN2-1726 Change-Id: Icc3ed801909750de5d6ba2f65f042e05e39797e1 Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com>
-rw-r--r--rest-services/dmaap-client/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/dmaap/client/api/DMaapContainer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/rest-services/dmaap-client/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/dmaap/client/api/DMaapContainer.java b/rest-services/dmaap-client/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/dmaap/client/api/DMaapContainer.java
index 7e6b0d48..9940f912 100644
--- a/rest-services/dmaap-client/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/dmaap/client/api/DMaapContainer.java
+++ b/rest-services/dmaap-client/src/test/java/org/onap/dcaegen2/services/sdk/rest/services/dmaap/client/api/DMaapContainer.java
@@ -36,7 +36,8 @@ final class DMaapContainer {
static DockerComposeContainer createContainerInstance(){
return new DockerComposeContainer(
new File(DOCKER_COMPOSE_FILE_PATH))
- .withExposedService(DMAAP_SERVICE_NAME, DMAAP_SERVICE_EXPOSED_PORT);
+ .withExposedService(DMAAP_SERVICE_NAME, DMAAP_SERVICE_EXPOSED_PORT)
+ .withLocalCompose(true);
}
private static String getDockerComposeFilePath(String resourceName){