@ -72,10 +72,12 @@ public class ShutdownEndpointTests extends AbstractEndpointTests<ShutdownEndpoin
@Bean
public ApplicationListener<ContextClosedEvent> listener() {
return new ApplicationListener<ContextClosedEvent>() {
@Override
public void onApplicationEvent(ContextClosedEvent event) {
Config.this.latch.countDown();
}
};