remove explicit launcher dependency + fix occasional build failures (#1349)

This commit is contained in:
erabii
2023-05-25 23:14:12 +03:00
committed by GitHub
parent 96eb6ef5c7
commit 697d8238e5
6 changed files with 14 additions and 11 deletions

View File

@@ -68,6 +68,8 @@
<spring-cloud-bus.version>4.0.1</spring-cloud-bus.version>
<spring-cloud-contract.version>4.0.4-SNAPSHOT</spring-cloud-contract.version>
<maven-surefire-plugin.version>3.1.0</maven-surefire-plugin.version>
<maven-checkstyle-plugin.failsOnError>true</maven-checkstyle-plugin.failsOnError>
<maven-checkstyle-plugin.failsOnViolation>true
</maven-checkstyle-plugin.failsOnViolation>

View File

@@ -155,8 +155,8 @@
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-test-support</artifactId>
<scope>test</scope>
</dependency>
<dependency>

View File

@@ -111,8 +111,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-test-support</artifactId>
<scope>test</scope>
</dependency>
<dependency>

View File

@@ -45,11 +45,6 @@
<artifactId>spring-boot-starter-web</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-test-support</artifactId>

View File

@@ -63,8 +63,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-kubernetes-test-support</artifactId>
<scope>test</scope>
</dependency>
<dependency>

View File

@@ -20,9 +20,15 @@ spec:
httpGet:
port: 8080
path: /actuator/health/readiness
initialDelaySeconds: 10
periodSeconds: 2
failureThreshold: 3
livenessProbe:
httpGet:
port: 8080
path: /actuator/health/liveness
initialDelaySeconds: 10
periodSeconds: 2
failureThreshold: 3
ports:
- containerPort: 8080