From 12bb7b81684ef3b8c16e8aeb779ca3bb43ae3f2b Mon Sep 17 00:00:00 2001 From: buildmaster Date: Tue, 19 Dec 2023 01:48:15 +0000 Subject: [PATCH] Bumping versions --- .../BlockingDiscoveryHealthPublishedEventTest.java | 7 ++++--- .../ReactiveDiscoveryHealthPublishedEventTest.java | 9 +++++---- .../cloud/kubernetes/tests/discovery/TestsDiscovery.java | 5 ++--- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/BlockingDiscoveryHealthPublishedEventTest.java b/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/BlockingDiscoveryHealthPublishedEventTest.java index eb2e15aa3..416f480ba 100644 --- a/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/BlockingDiscoveryHealthPublishedEventTest.java +++ b/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/BlockingDiscoveryHealthPublishedEventTest.java @@ -27,9 +27,10 @@ * * @author wind57 */ -@SpringBootTest(properties = { "spring.main.cloud-platform=kubernetes", "spring.cloud.config.enabled=false", - "spring.cloud.kubernetes.discovery.discovery-server-url=http://example", - "spring.cloud.discovery.reactive.enabled=false" }, +@SpringBootTest( + properties = { "spring.main.cloud-platform=kubernetes", "spring.cloud.config.enabled=false", + "spring.cloud.kubernetes.discovery.discovery-server-url=http://example", + "spring.cloud.discovery.reactive.enabled=false" }, classes = { HealthEventListenerConfiguration.class, App.class }) class BlockingDiscoveryHealthPublishedEventTest { diff --git a/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/ReactiveDiscoveryHealthPublishedEventTest.java b/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/ReactiveDiscoveryHealthPublishedEventTest.java index 87a37ed20..72ca89a83 100644 --- a/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/ReactiveDiscoveryHealthPublishedEventTest.java +++ b/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/ReactiveDiscoveryHealthPublishedEventTest.java @@ -29,10 +29,11 @@ * * @author wind57 */ -@SpringBootTest(properties = { "spring.main.cloud-platform=kubernetes", "spring.cloud.config.enabled=false", - "spring.cloud.kubernetes.discovery.discovery-server-url=http://example", - // disable blocking implementation - "spring.cloud.discovery.blocking.enabled=false" }, +@SpringBootTest( + properties = { "spring.main.cloud-platform=kubernetes", "spring.cloud.config.enabled=false", + "spring.cloud.kubernetes.discovery.discovery-server-url=http://example", + // disable blocking implementation + "spring.cloud.discovery.blocking.enabled=false" }, classes = { HealthEventListenerConfiguration.class, App.class }) class ReactiveDiscoveryHealthPublishedEventTest { diff --git a/spring-cloud-kubernetes-test-support/src/main/java/org/springframework/cloud/kubernetes/tests/discovery/TestsDiscovery.java b/spring-cloud-kubernetes-test-support/src/main/java/org/springframework/cloud/kubernetes/tests/discovery/TestsDiscovery.java index 38d86ea7f..f3605769e 100644 --- a/spring-cloud-kubernetes-test-support/src/main/java/org/springframework/cloud/kubernetes/tests/discovery/TestsDiscovery.java +++ b/spring-cloud-kubernetes-test-support/src/main/java/org/springframework/cloud/kubernetes/tests/discovery/TestsDiscovery.java @@ -63,9 +63,8 @@ public static void main(String[] args) throws Exception { Launcher launcher = session.getLauncher(); TestPlan testPlan = launcher.discover(request); testPlan.getRoots().stream().flatMap(x -> testPlan.getChildren(x).stream()) - .map(TestIdentifier::getLegacyReportingName).sorted().forEach(test -> - System.out.println("spring.cloud.k8s.test.to.run -> " + test) - ); + .map(TestIdentifier::getLegacyReportingName).sorted() + .forEach(test -> System.out.println("spring.cloud.k8s.test.to.run -> " + test)); } }