Skip to content

Commit bc1de6f

Browse files
committed
Bumping versions
1 parent d7d09de commit bc1de6f

File tree

1 file changed

+4
-6
lines changed
  • spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-discoveryclient-it/src/test/java/org/springframework/cloud/kubernetes/discoveryclient/it

1 file changed

+4
-6
lines changed

spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-discoveryclient-it/src/test/java/org/springframework/cloud/kubernetes/discoveryclient/it/DiscoveryClientFilterNamespaceIT.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,8 @@ private void cleanup() throws ApiException {
175175
api.deleteNamespacedService(MOCK_CLIENT_APP_NAME, NAMESPACE_LEFT, null, null, null, null, null, null);
176176
api.deleteNamespacedService(MOCK_CLIENT_APP_NAME, NAMESPACE_RIGHT, null, null, null, null, null, null);
177177

178-
networkingApi.deleteNamespacedIngress("wiremock-ingress", NAMESPACE_LEFT, null, null, null, null, null,
179-
null);
180-
networkingApi.deleteNamespacedIngress("wiremock-ingress", NAMESPACE_RIGHT, null, null, null, null,
181-
null, null);
178+
networkingApi.deleteNamespacedIngress("wiremock-ingress", NAMESPACE_LEFT, null, null, null, null, null, null);
179+
networkingApi.deleteNamespacedIngress("wiremock-ingress", NAMESPACE_RIGHT, null, null, null, null, null, null);
182180

183181
authApi.deleteClusterRole("cluster-admin", null, null, null, null, null, null);
184182

@@ -197,8 +195,8 @@ private void testLoadBalancer() {
197195
assertThat(result).containsAnyOf("wiremock");
198196

199197
// ServiceInstance
200-
WebClient serviceInstanceClient = builder
201-
.baseUrl("http://localhost:80/discoveryclient-it/service/wiremock").build();
198+
WebClient serviceInstanceClient = builder.baseUrl("http://localhost:80/discoveryclient-it/service/wiremock")
199+
.build();
202200
List<KubernetesServiceInstance> serviceInstances = serviceInstanceClient.method(HttpMethod.GET).retrieve()
203201
.bodyToMono(new ParameterizedTypeReference<List<KubernetesServiceInstance>>() {
204202
}).retryWhen(retrySpec()).block();

0 commit comments

Comments
 (0)