Skip to content

Commit 8f30930

Browse files
committed
fix tests
Signed-off-by: wind57 <[email protected]>
1 parent 999f1bd commit 8f30930

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,6 @@ void cache(CapturedOutput output) {
596596
Assertions.assertThat(redSourceData.sourceData().get("color")).isEqualTo("red");
597597
Assertions.assertThat(redSourceData.sourceName()).isEqualTo("configmap.red-configmap.default");
598598
Assertions.assertThat(output.getAll()).contains("Loaded all config maps in namespace '" + NAMESPACE + "'");
599-
Assertions.assertThat(output.getAll()).contains("Will read individual configmaps in namespace");
600599

601600
NormalizedSource greenSource = new LabeledConfigMapNormalizedSource(NAMESPACE, Map.of("color", "green"), false,
602601
ConfigUtils.Prefix.DEFAULT, false);

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,6 @@ void cache(CapturedOutput output) {
558558
Assertions.assertThat(redSourceData.sourceData().get("color")).isEqualTo("red");
559559
Assertions.assertThat(redSourceData.sourceName()).isEqualTo("secret.red.default");
560560
Assertions.assertThat(output.getOut()).contains("Loaded all secrets in namespace '" + NAMESPACE + "'");
561-
Assertions.assertThat(output.getOut()).contains("Will read individual secrets in namespace");
562561

563562
NormalizedSource greenSource = new LabeledSecretNormalizedSource(NAMESPACE, Map.of("color", "green"), false,
564563
ConfigUtils.Prefix.DEFAULT);

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ void cache(CapturedOutput output) {
449449
Assertions.assertThat(redSourceData.sourceName()).isEqualTo("configmap.red.default");
450450
Assertions.assertThat(redSourceData.sourceData()).isEqualTo(Map.of("color", "red"));
451451
Assertions.assertThat(output.getOut()).contains("Loaded all config maps in namespace '" + NAMESPACE + "'");
452-
Assertions.assertThat(output.getOut()).contains("Will read individual configmaps in namespace");
453452

454453
NormalizedSource greenSource = new NamedConfigMapNormalizedSource("green", NAMESPACE, true, true);
455454
KubernetesClientConfigContext greenContext = new KubernetesClientConfigContext(api, greenSource, NAMESPACE,

0 commit comments

Comments
 (0)