Skip to content

Commit 63c5834

Browse files
committed
fix issue
1 parent 06e5b86 commit 63c5834

File tree

1 file changed

+0
-11
lines changed
  • spring-cloud-kubernetes-commons/src/test/java/org/springframework/cloud/kubernetes/commons/config/reload

1 file changed

+0
-11
lines changed

spring-cloud-kubernetes-commons/src/test/java/org/springframework/cloud/kubernetes/commons/config/reload/ConfigReloadUtilTests.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import org.junit.jupiter.api.Test;
2727

2828
import org.springframework.cloud.bootstrap.config.BootstrapPropertySource;
29-
import org.springframework.cloud.kubernetes.commons.config.Constants;
3029
import org.springframework.cloud.kubernetes.commons.config.MountConfigMapPropertySource;
3130
import org.springframework.core.env.CompositePropertySource;
3231
import org.springframework.core.env.EnumerablePropertySource;
@@ -151,16 +150,6 @@ public Object getProperty(String name) {
151150
Assertions.assertEquals("from-inner-two-composite", result.get(3).getProperty(""));
152151
}
153152

154-
@Test
155-
void testEmptySourceNameOnError() {
156-
Object value = new Object();
157-
Map<String, Object> rightMap = Map.of("key", value);
158-
MapPropertySource left = new MapPropertySource("on-error", Map.of(Constants.ERROR_PROPERTY, "true"));
159-
MapPropertySource right = new MapPropertySource("right", rightMap);
160-
boolean changed = ConfigReloadUtil.changed(List.of(left), List.of(right));
161-
assertThat(changed).isFalse();
162-
}
163-
164153
private static final class OneComposite extends CompositePropertySource {
165154

166155
private OneComposite() {

0 commit comments

Comments
 (0)