From 1e09503250d30cc0d0a7fe810fa56e064b033a53 Mon Sep 17 00:00:00 2001 From: Matteo Bianchi <47943069+OnSuorce@users.noreply.github.com> Date: Fri, 28 Jul 2023 15:00:32 +0200 Subject: [PATCH 1/2] Update docker-compose doc with test support Added note to indicate how to enable support for spring docker compose module in @SpringBootTest tests --- .../src/docs/asciidoc/features/docker-compose.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/docker-compose.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/docker-compose.adoc index cd8ed4ad45f2..5652b5dcd7c4 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/docker-compose.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/docker-compose.adoc @@ -37,6 +37,7 @@ When this module is included as a dependency Spring Boot will do the following: NOTE: The `docker compose` or `docker-compose` CLI application needs to be on your path in order for Spring Boot’s support to work correctly. +NOTE: If you wish to run docker compose via `spring-boot-docker-compose` when using `@SpringBootTest` 's tests, the property `spring.docker.compose.skip.in-tests` must be set to `false` [[features.docker-compose.service-connections]] From 53414b9de714a215d84ba2acc65bd499ac3d22ae Mon Sep 17 00:00:00 2001 From: Matteo Bianchi <47943069+OnSuorce@users.noreply.github.com> Date: Fri, 28 Jul 2023 15:54:03 +0200 Subject: [PATCH 2/2] Update docker-compose support for test --- .../src/docs/asciidoc/features/docker-compose.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/docker-compose.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/docker-compose.adoc index 5652b5dcd7c4..059e155993b1 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/docker-compose.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/docker-compose.adoc @@ -37,7 +37,7 @@ When this module is included as a dependency Spring Boot will do the following: NOTE: The `docker compose` or `docker-compose` CLI application needs to be on your path in order for Spring Boot’s support to work correctly. -NOTE: If you wish to run docker compose via `spring-boot-docker-compose` when using `@SpringBootTest` 's tests, the property `spring.docker.compose.skip.in-tests` must be set to `false` +NOTE: If you wish to run docker compose via `spring-boot-docker-compose` when using `@SpringBootTest` 's tests, the property `configprop:spring.docker.compose.skip.in-tests[]` must be set to `false` [[features.docker-compose.service-connections]]