Skip to content

Commit bcb53d9

Browse files
committed
Merge branch 'main' into fabric8-native-leader-election
2 parents 49b4499 + 8d46e2c commit bcb53d9

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/configmap_retry/ConfigMapEnableRetryWithoutFailFastTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ public static void setup() {
8686
private static void stubConfigMapAndSecretsDefaults() {
8787
// return empty config map / secret list to not fail context creation
8888
stubFor(get(API).willReturn(aResponse().withStatus(200).withBody(JSON.serialize(new V1ConfigMapList()))));
89-
stubFor(get(SECRETS_API)
90-
.willReturn(aResponse().withStatus(200).withBody(JSON.serialize(new V1SecretList()))));
89+
stubFor(get(SECRETS_API).willReturn(aResponse().withStatus(200).withBody(JSON.serialize(new V1SecretList()))));
9190
}
9291

9392
@AfterAll

spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/configmap_retry/ConfigRetryDisabledButSecretsRetryEnabled.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ static void setup() {
7777
private static void stubConfigMapAndSecretsDefaults() {
7878
// return empty config map / secret list to not fail context creation
7979
stubFor(get(API).willReturn(aResponse().withStatus(200).withBody(JSON.serialize(new V1ConfigMapList()))));
80-
stubFor(get(SECRETS_API)
81-
.willReturn(aResponse().withStatus(200).withBody(JSON.serialize(new V1SecretList()))));
80+
stubFor(get(SECRETS_API).willReturn(aResponse().withStatus(200).withBody(JSON.serialize(new V1SecretList()))));
8281
}
8382

8483
@AfterAll

spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/secrets_retry/SecretsEnableRetryWithoutFailFastTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ public static void setup() {
8686
private static void stubConfigMapAndSecretsDefaults() {
8787
// return empty config map / secret list to not fail context creation
8888
stubFor(get(API).willReturn(aResponse().withStatus(200).withBody(JSON.serialize(new V1ConfigMapList()))));
89-
stubFor(get(SECRETS_API)
90-
.willReturn(aResponse().withStatus(200).withBody(JSON.serialize(new V1SecretList()))));
89+
stubFor(get(SECRETS_API).willReturn(aResponse().withStatus(200).withBody(JSON.serialize(new V1SecretList()))));
9190
}
9291

9392
@AfterAll

spring-cloud-kubernetes-client-loadbalancer/src/test/java/org/springframework/cloud/kubernetes/client/loadbalancer/KubernetesClientServicesListSupplierTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,8 @@ void selectiveNamespacesTest(CapturedOutput output) {
252252
.willReturn(aResponse().withStatus(200)
253253
.withBody(JSON.serialize(SERVICE_A_DEFAULT_NAMESPACE_SELECTIVE_NAMESPACES))));
254254

255-
stubFor(get(urlEqualTo("/api/v1/namespaces/test/services?fieldSelector=metadata.name%3Dservice-a"))
256-
.willReturn(aResponse().withStatus(200)
257-
.withBody(JSON.serialize(SERVICE_A_TEST_NAMESPACE_SELECTIVE_NAMESPACES))));
255+
stubFor(get(urlEqualTo("/api/v1/namespaces/test/services?fieldSelector=metadata.name%3Dservice-a")).willReturn(
256+
aResponse().withStatus(200).withBody(JSON.serialize(SERVICE_A_TEST_NAMESPACE_SELECTIVE_NAMESPACES))));
258257

259258
stubFor(get(urlEqualTo("/api/v1/namespaces/no-service/services?fieldSelector=metadata.name%3Dservice-a"))
260259
.willReturn(aResponse().withStatus(404)));

spring-cloud-kubernetes-test-support/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<plugin>
6464
<groupId>org.codehaus.mojo</groupId>
6565
<artifactId>exec-maven-plugin</artifactId>
66-
<version>3.6.1</version>
66+
<version>3.6.2</version>
6767
<executions>
6868
<execution>
6969
<goals>

0 commit comments

Comments
 (0)