Update cache version #167
GitHub Actions / JUnit Test Report
failed
Dec 12, 2024 in 0s
63 tests run, 0 skipped, 1 failed.
Annotations
github-actions / JUnit Test Report
ConfigWatchTests.watchPublishesEvent
applicationEventPublisher.publishEvent(
<any org.springframework.cloud.endpoint.event.RefreshEvent>
);
Wanted 1 time:
-> at org.springframework.context.ApplicationEventPublisher.publishEvent(ApplicationEventPublisher.java:65)
But was 2 times:
-> at org.springframework.cloud.consul.config.ConfigWatch.watchConfigKeyValues(ConfigWatch.java:173)
-> at org.springframework.cloud.consul.config.ConfigWatch.watchConfigKeyValues(ConfigWatch.java:173)
Raw output
org.mockito.exceptions.verification.TooManyActualInvocations:
applicationEventPublisher.publishEvent(
<any org.springframework.cloud.endpoint.event.RefreshEvent>
);
Wanted 1 time:
-> at org.springframework.context.ApplicationEventPublisher.publishEvent(ApplicationEventPublisher.java:65)
But was 2 times:
-> at org.springframework.cloud.consul.config.ConfigWatch.watchConfigKeyValues(ConfigWatch.java:173)
-> at org.springframework.cloud.consul.config.ConfigWatch.watchConfigKeyValues(ConfigWatch.java:173)
at org.springframework.context.ApplicationEventPublisher.publishEvent(ApplicationEventPublisher.java:65)
at org.springframework.cloud.consul.config.ConfigWatchTests.watchPublishesEvent(ConfigWatchTests.java:74)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
Loading