mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Merge branch '3.2.x'
Closes gh-41172
This commit is contained in:
commit
8e405c0224
@ -27,7 +27,9 @@ import org.junit.jupiter.api.extension.ExtendWith;
|
|||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.service.connection.ConnectionDetails;
|
import org.springframework.boot.autoconfigure.service.connection.ConnectionDetails;
|
||||||
|
import org.springframework.boot.testsupport.container.DisabledIfDockerUnavailable;
|
||||||
import org.springframework.boot.testsupport.container.TestImage;
|
import org.springframework.boot.testsupport.container.TestImage;
|
||||||
|
import org.springframework.boot.testsupport.process.DisabledIfProcessUnavailable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link Test test} that exercises Spring Boot's Docker Compose support.
|
* A {@link Test test} that exercises Spring Boot's Docker Compose support.
|
||||||
@ -48,6 +50,8 @@ import org.springframework.boot.testsupport.container.TestImage;
|
|||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Documented
|
@Documented
|
||||||
@ExtendWith(DockerComposeTestExtension.class)
|
@ExtendWith(DockerComposeTestExtension.class)
|
||||||
|
@DisabledIfDockerUnavailable
|
||||||
|
@DisabledIfProcessUnavailable({ "docker", "compose" })
|
||||||
public @interface DockerComposeTest {
|
public @interface DockerComposeTest {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user