pull/6350/head
Phillip Webb 8 years ago
parent 8ce85ffb3d
commit b732aeb453

@ -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();
}
};
}

Loading…
Cancel
Save