Skip to content

Bumping versions

Bumping versions #146

GitHub Actions / JUnit Test Report failed Mar 27, 2024 in 0s

63 tests run, 0 skipped, 1 failed.

Annotations

Check failure on line 74 in spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConfigWatchTests.java

See this annotation in the file changed.

@github-actions 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.cloud.consul.config.ConfigWatchTests.watchPublishesEvent(ConfigWatchTests.java:74)