Skip to content

Commit

Permalink
Bumping versions
Browse files Browse the repository at this point in the history
  • Loading branch information
spring-builds committed Sep 12, 2024
1 parent 5f2bf71 commit e8dd410
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ class KubernetesClientConfigMapPropertySourceTests {
.withNamespace("default")
.withResourceVersion("1")
.build())
.addToData(Constants.APPLICATION_YAML, "dummy:\n property:\n string2: \"a\"\n int2: 1\n bool2: true\n")
.addToData(Constants.APPLICATION_YAML,
"dummy:\n property:\n string2: \"a\"\n int2: 1\n bool2: true\n")
.build());

private static WireMockServer wireMockServer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ void watch() {
data.put(Constants.APPLICATION_PROPERTIES, "spring.cloud.kubernetes.configuration.watcher.refreshDelay=0\n"
+ "logging.level.org.springframework.cloud.kubernetes=TRACE");
Map<String, String> updateData = new HashMap<>();
updateData.put(Constants.APPLICATION_PROPERTIES, "spring.cloud.kubernetes.configuration.watcher.refreshDelay=1\n"
+ "logging.level.org.springframework.cloud.kubernetes=TRACE");
updateData.put(Constants.APPLICATION_PROPERTIES,
"spring.cloud.kubernetes.configuration.watcher.refreshDelay=1\n"
+ "logging.level.org.springframework.cloud.kubernetes=TRACE");
V1ConfigMap applicationConfig = new V1ConfigMap().kind("ConfigMap")
.metadata(new V1ObjectMeta().namespace("default").name("bar1"))
.data(data);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ class KubernetesEnvironmentRepositoryTests {
.addItemsItem(new V1ConfigMapBuilder()
.withMetadata(
new V1ObjectMetaBuilder().withName("stores").withNamespace("dev").withResourceVersion("1").build())
.addToData(Constants.APPLICATION_YAML, "dummy:\n property:\n string2: \"dev\"\n int2: 1\n bool2: true\n")
.addToData(Constants.APPLICATION_YAML,
"dummy:\n property:\n string2: \"dev\"\n int2: 1\n bool2: true\n")
.build());

private static final V1SecretList SECRET_LIST = new V1SecretListBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,8 @@ void getEndPointsListShouldHandleNamespaces() {
List<Endpoints> result_endpoints = discoveryClient.getEndPointsList("endpoint");

assertThat(result_endpoints).hasSize(2);
assertThat(result_endpoints.stream()
.map(Endpoints::getMetadata)
.map(ObjectMeta::getNamespace)
.toList()).containsOnly(namespace1, namespace3);
assertThat(result_endpoints.stream().map(Endpoints::getMetadata).map(ObjectMeta::getNamespace).toList())
.containsOnly(namespace1, namespace3);
}

@Test
Expand Down

0 comments on commit e8dd410

Please sign in to comment.