From a4e211535a8a2d9743a1259804b42d0c6f04048e Mon Sep 17 00:00:00 2001 From: buildmaster Date: Wed, 17 Jan 2024 02:03:16 +0000 Subject: [PATCH] Bumping versions --- ...atchAutoConfigurationApplicationContextTests.java | 7 ++++--- ...KubernetesCatalogWatchAutoConfigurationTests.java | 12 ++++++------ ...atchAutoConfigurationApplicationContextTests.java | 7 ++++--- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/spring-cloud-kubernetes-client-discovery/src/test/java/org/springframework/cloud/kubernetes/client/discovery/catalog/KubernetesCatalogWatchAutoConfigurationApplicationContextTests.java b/spring-cloud-kubernetes-client-discovery/src/test/java/org/springframework/cloud/kubernetes/client/discovery/catalog/KubernetesCatalogWatchAutoConfigurationApplicationContextTests.java index 189c8e25f..cd54467cf 100644 --- a/spring-cloud-kubernetes-client-discovery/src/test/java/org/springframework/cloud/kubernetes/client/discovery/catalog/KubernetesCatalogWatchAutoConfigurationApplicationContextTests.java +++ b/spring-cloud-kubernetes-client-discovery/src/test/java/org/springframework/cloud/kubernetes/client/discovery/catalog/KubernetesCatalogWatchAutoConfigurationApplicationContextTests.java @@ -98,7 +98,7 @@ void disableBlockingAndReactive() { @Test void disableBlockingEnableReactive() { setup("spring.main.cloud-platform=KUBERNETES", "spring.cloud.config.enabled=false", - "spring.cloud.discovery.blocking.enabled=false", "spring.cloud.discovery.reactive.enabled=true"); + "spring.cloud.discovery.blocking.enabled=false", "spring.cloud.discovery.reactive.enabled=true"); applicationContextRunner.run(context -> { assertThat(context).hasSingleBean(KubernetesCatalogWatch.class); }); @@ -110,14 +110,15 @@ void disableBlockingEnableReactive() { @Test void enableBlockingDisableReactive() { setup("spring.main.cloud-platform=KUBERNETES", "spring.cloud.config.enabled=false", - "spring.cloud.discovery.blocking.enabled=true", "spring.cloud.discovery.reactive.enabled=false"); + "spring.cloud.discovery.blocking.enabled=true", "spring.cloud.discovery.reactive.enabled=false"); applicationContextRunner.run(context -> { assertThat(context).hasSingleBean(KubernetesCatalogWatch.class); }); } /** - * spring.cloud.kubernetes.discovery.enabled is false, catalog watcher is disabled also. + * spring.cloud.kubernetes.discovery.enabled is false, catalog watcher is disabled + * also. */ @Test void disableKubernetesDiscovery() { diff --git a/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/KubernetesCatalogWatchAutoConfigurationTests.java b/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/KubernetesCatalogWatchAutoConfigurationTests.java index 5efe9da0b..92fd40495 100644 --- a/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/KubernetesCatalogWatchAutoConfigurationTests.java +++ b/spring-cloud-kubernetes-discovery/src/test/java/org/springframework/cloud/kubernetes/discovery/KubernetesCatalogWatchAutoConfigurationTests.java @@ -97,9 +97,9 @@ void disableBlockingAndReactive() { @Test void disableBlockingEnableReactive() { setup("spring.main.cloud-platform=KUBERNETES", "spring.cloud.config.enabled=false", - "spring.cloud.discovery.blocking.enabled=false", "spring.cloud.discovery.reactive.enabled=true", - "spring.cloud.kubernetes.discovery.discovery-server-url=example.com", - "spring.cloud.kubernetes.http.discovery.catalog.watcher.enabled=true"); + "spring.cloud.discovery.blocking.enabled=false", "spring.cloud.discovery.reactive.enabled=true", + "spring.cloud.kubernetes.discovery.discovery-server-url=example.com", + "spring.cloud.kubernetes.http.discovery.catalog.watcher.enabled=true"); applicationContextRunner.run(context -> { assertThat(context).hasSingleBean(KubernetesCatalogWatch.class); }); @@ -111,9 +111,9 @@ void disableBlockingEnableReactive() { @Test void enableBlockingDisableReactive() { setup("spring.main.cloud-platform=KUBERNETES", "spring.cloud.config.enabled=false", - "spring.cloud.discovery.blocking.enabled=true", "spring.cloud.discovery.reactive.enabled=false", - "spring.cloud.kubernetes.discovery.discovery-server-url=example.com", - "spring.cloud.kubernetes.http.discovery.catalog.watcher.enabled=true"); + "spring.cloud.discovery.blocking.enabled=true", "spring.cloud.discovery.reactive.enabled=false", + "spring.cloud.kubernetes.discovery.discovery-server-url=example.com", + "spring.cloud.kubernetes.http.discovery.catalog.watcher.enabled=true"); applicationContextRunner.run(context -> { assertThat(context).hasSingleBean(KubernetesCatalogWatch.class); }); diff --git a/spring-cloud-kubernetes-fabric8-discovery/src/test/java/org/springframework/cloud/kubernetes/fabric8/discovery/KubernetesCatalogWatchAutoConfigurationApplicationContextTests.java b/spring-cloud-kubernetes-fabric8-discovery/src/test/java/org/springframework/cloud/kubernetes/fabric8/discovery/KubernetesCatalogWatchAutoConfigurationApplicationContextTests.java index ec1799447..0978a6b68 100644 --- a/spring-cloud-kubernetes-fabric8-discovery/src/test/java/org/springframework/cloud/kubernetes/fabric8/discovery/KubernetesCatalogWatchAutoConfigurationApplicationContextTests.java +++ b/spring-cloud-kubernetes-fabric8-discovery/src/test/java/org/springframework/cloud/kubernetes/fabric8/discovery/KubernetesCatalogWatchAutoConfigurationApplicationContextTests.java @@ -90,7 +90,7 @@ void disableBlockingAndReactive() { @Test void disableBlockingEnableReactive() { setup("spring.main.cloud-platform=KUBERNETES", "spring.cloud.config.enabled=false", - "spring.cloud.discovery.blocking.enabled=false", "spring.cloud.discovery.reactive.enabled=true"); + "spring.cloud.discovery.blocking.enabled=false", "spring.cloud.discovery.reactive.enabled=true"); applicationContextRunner.run(context -> { assertThat(context).hasSingleBean(KubernetesCatalogWatch.class); assertThat(context).doesNotHaveBean(KubernetesClientServicesFunction.class); @@ -105,7 +105,7 @@ void disableBlockingEnableReactive() { @Test void enableBlockingDisableReactive() { setup("spring.main.cloud-platform=KUBERNETES", "spring.cloud.config.enabled=false", - "spring.cloud.discovery.blocking.enabled=true", "spring.cloud.discovery.reactive.enabled=false"); + "spring.cloud.discovery.blocking.enabled=true", "spring.cloud.discovery.reactive.enabled=false"); applicationContextRunner.run(context -> { assertThat(context).hasSingleBean(KubernetesCatalogWatch.class); assertThat(context).doesNotHaveBean(KubernetesClientServicesFunction.class); @@ -115,7 +115,8 @@ void enableBlockingDisableReactive() { } /** - * spring.cloud.kubernetes.discovery.enabled is false, catalog watcher is disabled also. + * spring.cloud.kubernetes.discovery.enabled is false, catalog watcher is disabled + * also. */ @Test void disableKubernetesDiscovery() {